fbpx

C++ unit test framework

Summary of unit tests

I’m a big fan of test driven development so it was natural that one of the first things I did was look for a way to test the C++ code. I wanted something small and easy to use. Ideally it would be just a header file that needed to be included. And I also wanted to just write the tests and run them without any extra steps such as running another tool to scan for the tests and register them. The tests should be able to register themselves.

There were several choices available but none of them were exactly what I was looking for. This framework needed to be simple enough that I could explain how it worked to so that you would understand how to use it in your code.

I decided to write my own. All the code is available open source under the MIT license on GitHub at this URL:

https://github.com/muddledmanaged/Designer

Skills

Posted on

June 16, 2015