I use cppUnit on VC++6. I try to build a wxWidgets Application, with Unit-Tests. I integrated cppUnit into VC. I Added an Testcase and in the Contructor of the Frame (Main) following lines.
CPPUNIT_NS :: TestResult testresult;
// Listener zum Sammeln der Testergebnisse registrieren
CPPUNIT_NS :: TestResultCollector collectedresults;
testresult.addListener (&collectedresults);
If I start build, the compiler prints following Output:
Running Test
Failed to load test plug-in:
Symbol [cppunitTestPlugIn] not found in dynamic libary:.\Debug\nochmal.exe
I searched, but I have no Idea whats bad.
Thanks & greetings,
Marquies
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, this is beacause I started the Plugin after compiling. But I have still the Problem, that I can't get the testresults, because the Programm has noch COnsole Output. How can I start the Test GUI, like junit.swingui.TestRunner.run() ?? Why it can't be easy as Eclipse with JUnit? :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi folks,
I use cppUnit on VC++6. I try to build a wxWidgets Application, with Unit-Tests. I integrated cppUnit into VC. I Added an Testcase and in the Contructor of the Frame (Main) following lines.
CPPUNIT_NS :: TestResult testresult;
// Listener zum Sammeln der Testergebnisse registrieren
CPPUNIT_NS :: TestResultCollector collectedresults;
testresult.addListener (&collectedresults);
// Test-Suite ueber die Registry im Test-Runner einfuegen
CPPUNIT_NS :: TestRunner testrunner;
testrunner.addTest (CPPUNIT_NS :: TestFactoryRegistry :: getRegistry ().makeTest ());
testrunner.run (testresult);
If I start build, the compiler prints following Output:
Running Test
Failed to load test plug-in:
Symbol [cppunitTestPlugIn] not found in dynamic libary:.\Debug\nochmal.exe
I searched, but I have no Idea whats bad.
Thanks & greetings,
Marquies
Sorry, this is beacause I started the Plugin after compiling. But I have still the Problem, that I can't get the testresults, because the Programm has noch COnsole Output. How can I start the Test GUI, like junit.swingui.TestRunner.run() ?? Why it can't be easy as Eclipse with JUnit? :)