Example: bankruptcy
Unit Testing C++ Code – CppUnit by Example
Using reflection the unit testing tool (JUnit/NUnit) finds your test methods dynamically. Since C++ does not have support for reflection, it becomes a bit of a challenge to write a unit test in C++, at least the JUnit way. You will have to exploit some of the traditional features of C++ to get around the lack of reflection feature.
Download Unit Testing C++ Code – CppUnit by Example
Information
Domain:
Source:
Link to this page: