Unit testing in C++11

Joakim Karlsson <[email protected]>
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <CAEgWz=C6sOmrrsk-gAcr7D+BZLP8VqKusFRCKyts9W=yOUrfCg@mail.gmail.com>
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.

https://github.com/joakimkarlsson/bandit

 / Joakim


[Non-text portions of this message have been removed]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.