added cppunit unit testing framework, using cmake, stripped out the original build systems.
added starting point for Bullet unit tests, with one example unit test Enable the option BUILD_UNIT_TESTS in cmake to build the test. Note that the test doesn't automatically run.
This commit is contained in:
35
UnitTests/cppunit/TODO
Normal file
35
UnitTests/cppunit/TODO
Normal file
@@ -0,0 +1,35 @@
|
||||
* Bugs:
|
||||
Asserter::makeNotEqualMessage() strip the shortDescription of the additional message.
|
||||
|
||||
* CppUnit:
|
||||
- STL concept checker.
|
||||
- Memory leak tracking: setUp/tearDown should be leak safe if no failure occured.
|
||||
|
||||
* UnitTest
|
||||
- add tests for XmlOutputter::setStyleSheet (current assertion macro strip <?...> when
|
||||
testing )
|
||||
|
||||
* VC++ TestRunner:
|
||||
- Modify MfcUi::TestRunner to expose TestResult (which allow specific TestListener
|
||||
for global initialization).
|
||||
- Update MfcTestRunner to use TestPath to store test in the registry
|
||||
|
||||
* Documentation:
|
||||
CookBook:
|
||||
- how to create simple test cases (with CppUnit namespace)
|
||||
- test case using only CPPUINT_ASSERT
|
||||
- test case using CPPUNIT_ASSERT_EQUAL
|
||||
- advanced assertions with the CPPUNIT_ASSERT_MESSAGE
|
||||
- Helper Macros for convenience
|
||||
- Creating a suite
|
||||
- Composing a suite from more suites (i.e. compose tests for n modules to
|
||||
form a big test for the whole program)
|
||||
- customizing output using an user defined TestListener
|
||||
- how to write the TestListener (subclass of TestListener)
|
||||
- how to hook it in
|
||||
- how to use the GUI
|
||||
- MSVC++ special stuff
|
||||
- other custmization stuff I haven't understood yet
|
||||
|
||||
CppUnit: architecture overview.
|
||||
|
||||
Reference in New Issue
Block a user