I'm a newbie to cppunit, and so far am baffled. I used junit previously.
I trying to get the cookbook example to work by itself as the equivalent to Hello, world." Bluntly, it seems riddled with errors, which doesn't help.
1. Operator== calls eq() which doesn't exist. 2. setUp() is declared protected, which conflicts with the base class.
When I got those cleaned up, I'm getting unresolved linker errors for CppUnit::TextUi::TestRunner runner.
Any help appreciated. Is there a sample project that is MUCH simpler than the humongous example? Is there a working example with just text output?
TIA
Log in to post a comment.
I'm a newbie to cppunit, and so far am baffled. I used junit previously.
I trying to get the cookbook example to work by itself as the equivalent to Hello, world." Bluntly, it seems riddled with errors, which doesn't help.
1. Operator== calls eq() which doesn't exist.
2. setUp() is declared protected, which conflicts with the base class.
When I got those cleaned up, I'm getting unresolved linker errors for
CppUnit::TextUi::TestRunner runner.
Any help appreciated. Is there a sample project that is MUCH simpler than the humongous example? Is there a working example with just text output?
TIA