Is it just me or is the cppunit TestCase very limited comparing it to Junit ?
Ive just switched from Junit to cppunit, and am missing alot
of assertequals, such as the assertEquals ( String(s)).
Anyhow what is you stand on extending TestCase with alot of new
assert equals.. ???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is just a preliminary version of CppUnit,
since I expect a lot of refactoring, depending on the different requirements:
For example, I have to make sure that unexperienced students can write testcases without pain. This is the reason why I prefer static registration of the TestCases in a TestRegistry over writing .h files or extern declarations.
But I don't think that adding assertEquals would spoil the class.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it just me or is the cppunit TestCase very limited comparing it to Junit ?
Ive just switched from Junit to cppunit, and am missing alot
of assertequals, such as the assertEquals ( String(s)).
Anyhow what is you stand on extending TestCase with alot of new
assert equals.. ???
This is just a preliminary version of CppUnit,
since I expect a lot of refactoring, depending on the different requirements:
For example, I have to make sure that unexperienced students can write testcases without pain. This is the reason why I prefer static registration of the TestCases in a TestRegistry over writing .h files or extern declarations.
But I don't think that adding assertEquals would spoil the class.