¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Unit testing in C++11


Joakim Karlsson
 

Although there are an abundance of unit testing frameworks for C++ out
there, I decided to learn some of the features available in C++11 by
writing yet another one.

At this point it's mostly for play and to scratch an itch. I wanted to
bring the good parts of writing unit tests in other environments with a
quick setup, readable tests, no hardwiring to a specific assertion
framework, and ease of organizing test hierarchies so that setups for a
context can be easily reused and augmented by sub contexts.

Anyway, there's a lot of subjectivity here, but if you find this
interesting please take a look and let me know what you think.



/ Joakim