I reread Exploring the C++ Unit Testing Framework Jungle by Noel Llopis who suggested the following frameworks:
- CppUnit
- Boost.Test
- CppUnitLite
- CxxTest
That left me with CppUnit
As I was looking around, I also had a look at:
- Unit Testing Integration by Jeff who uses UnitTest++.
- Automated Tests and Continuous Integration in Game Projects by Dag Frommhold and Fabian Röken which more of a theoretical article.
- Unit-tests with C++ using the framework CppUnit by Alexander Müller
- Getting Started with CppUnit in Ubuntu by Larry Hosken
I thought I'd cut and paste this basic command from Hosken so I'd remember it.
g++ -g CritterTest.cpp main.cc -lcppunit
Here a few other links I found interesting as I was looking around:
- The heart of TDD by Will Stott demonstrates usage of CppUnitLite.
- Test Driven Development in C/C++ by Dr. Robert S. Koss and Jeff Langr at Dr. Dobbs. Dr. Dobbs is always cool.
- Working Effectively With Legacy Code by Michael Feathers is a great looking book that uses CppUnitLite.
No comments:
Post a Comment