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++
Tag: Unit tests
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: When faced with similar a code a developer has a “tiny” problem – how to force the code inside Task.Run to execute before the end of the test is reached. And so we can write the following test that would fail … 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
What to do when FakeItEasy throws System.BadImageException
Today I had a weird problem at work. I’ve been working with a new team and they’ve been writing unit tests using FakeItEasy when they got a strange error message:System.BadImageFormatException: … The signature is incorrect.Now I’ve been using FakeItEasy for some time and I never once saw this strange behavior. Googling for the problem only … Continue reading What to do when FakeItEasy throws System.BadImageException


