Exactly one year and four months passed since my first try at fixing the state of asserts in NUnit. You can read all about it in my post – One assert to rule them all.My intent was to create one assert that would automatically choose the right way to check test result (I didn’t invet … Continue reading AssertHelper V1 released
Tag: Unit tests
Catch – multi-paradigm automated test framework for C++
When unit testing in C++ I tend to use Google Test/Mock, it’s simple to use, multi-platform solution. In the last few days I have been having second thoughts about it due to a new framework called Catch.What is (the) Catch?“Catch” stand for C++ Automated Test Cases in Headers. It’s an open source project (GitHubbed). What … Continue reading Catch – multi-paradigm automated test framework for C++
New Speaking engagement – DevWeek 2015
Now that I’m back from NDC London I have a chance to plan my upcoming speaking engagements – and it’s going to be a few busy months.I’ve already blogged about my plans for the next few months but since then I found out that I’ll be coming back to London (always a pleasure) in March … Continue reading New Speaking engagement – DevWeek 2015
Unit testing concurrent code using custom TaskScheduler
Today I had a need to test an action that runs inside a Task: [code lang="csharp"] public class ClassToTest { private readonly IMessageBus _messageBus; private CancellationTokenSource _cancellationTokenSource; public event EventHandler OnNewMessage;</pre> public ClassToTest(IMessageBus messageBus) { _messageBus = messageBus; } public void Start() { _cancellationTokenSource = new CancellationTokenSource(); Task.Run(() => { var message = _messageBus.GetNextMessage(); // … Continue reading Unit testing concurrent code using custom TaskScheduler
Upcoming conferences
As 2014 ends and the new year begins I have a few speaking opportunities planned right around the corner: When: 3rd December 2014 I’ve enjoyed speaking at NDC London last year and I’m glad I was given a chance to speak at that great conference again. I’ll be speaking about unit testing concurrent and … Continue reading Upcoming conferences
What I hate about BDD
Disclaimer: this is not a TDD vs. BDD post – now that we’ve got that out of the way let’s discuss the thing I hate most about BDD…I’ve recently started using BDD (again). My tests are still “unit tests” – they do not call a database nor any other external dependency, and since even when … Continue reading What I hate about BDD
Unit testing – you’re measuring it wrong
I’ve been having this problem ever since I’ve started teaching (and preaching) about SCRUM, clean code, unit testing and TDD and any other software development practice.When implementing a change - how do you measure its success?For that matter – how can you measure a developer productivity? by Our HeroA few years ago I worked … Continue reading Unit testing – you’re measuring it wrong
Designing with Tests talk at IASA
Last week I had the pleasure of presenting at the local IASA (International Association of Software Architects). I talked about how to use unit tests to design software and the role of the architect when using TDD. Designing with tests from Dror Helper It was a good talk with a lot of good questions from … Continue reading Designing with Tests talk at IASA
My DevGeekWeek sessions
I’ve had fun today at DevGeekWeek where I got to talk about writing clean code and unit testing best practices. I’d like to thank the participants of today’s seminar – you were a great audience and I enjoyed speaking with you and learning about your experience with Agile, unit testing and writing code. Just in … Continue reading My DevGeekWeek sessions
DevGeekWeek 2014
Those you know me (or read my blog) know that I’m passionate (with a capital P) about software development, clean code and of course unit testing. And I’m happy to be given the opportunity to talk about these topics as part of The DevGeekWeek 2014 conference. The DevGeekWeek is a week of all things software … Continue reading DevGeekWeek 2014

