Timo

Show:

What's happening?

  • Followup: RE: MfcTestRunner with xmlOutputter

    Hi Daniel, okay, now I get it. We had a similar problem. IMHO I think execution of unit tests by non-developers is bullshit. Unit tests are tests written by developers to verify the stability/functionality of their own work. Please point your management also to http://en.wikipedia.org/wiki/Unit_testing The first sentence says already enough ("...in which a programmer...

    2009-07-23 08:54:36 UTC in CppUnit - C++ port of JUnit

  • Followup: RE: MfcTestRunner with xmlOutputter

    Hi Daniel, that's exactly what I said. :-) This won't work with the current version of MfcTestRunner. You could of course extend this. Anyway: Why do you need that? Normally the XML output is needed for continuous integration. Therefore you don't want to have a GUI that needs user interaction. Commandline is everything what you need. Cheers Timo.

    2009-07-22 12:50:22 UTC in CppUnit - C++ port of JUnit

  • Followup: RE: is it possible to run one test at a time?

    You can not specify a specific test that should be run from the command line if you mean that. We had the same problem... The only thing you could do is to isolate the test that you want to execute in a header/cpp file and compile it separately as a small library. We divided our unit tests in various (10-15) libraries (per module one library). Due to that we have the possibility to include...

    2009-07-22 09:57:53 UTC in CppUnit - C++ port of JUnit

  • Followup: RE: MfcTestRunner with xmlOutputter

    Hi Daniel, I'm not sure if this is possible with the MFCTestRunner. In you current implementation you do nothing with the TestResult and TestResultCollector object to connect it with the TestRunner, that's why it is still empty at the end. In theory, this line is wrong: CppUnit::XmlOutputter xmlOutputter(&result, xmlout); and should be changed to CppUnit::XmlOutputter...

    2009-07-22 09:45:18 UTC in CppUnit - C++ port of JUnit

  • Followup: RE: I need some help to use wxTestRunner

    It is simply outdated. Instead use the MFCTestRunner. Cheers Timo.

    2009-07-02 11:55:12 UTC in CppUnit - C++ port of JUnit

  • Monitor to detect crashes and infinite loops

    Hi all, exists there in the current version of cppunit a solution to detect crashes and infinite loops in a unit test? Currently we have the problem, that are build server hangs because of a hang in a unit test. The same for a crash in a unit test, then the Dr.Watson dialog pops up and it blocks the build server again. I don't want this dialog blocking the build server, furthermore I...

    2009-07-02 10:42:08 UTC in CppUnit - C++ port of JUnit

  • Macro CPPUNIT_MAKE_UNIQUE_NAME doesn't make unique names

    Hi all, the macro CPPUNIT_MAKE_UNIQUE_NAME is coded in a very optimistic style. It assumes there doesn't exist two files which contain this macro on the same line. See the definition below: #define CPPUNIT_MAKE_UNIQUE_NAME( prefix ) CPPUNIT_JOIN( prefix, __LINE__ ) A possible bugfix would be: A) #define CPPUNIT_MAKE_UNIQUE_NAME( prefix) CPPUNIT_JOIN( prefix, __COUNTER__ ) or...

    2008-07-29 17:43:08 UTC in CppUnit - C++ port of JUnit

About Me

  • 2007-03-07 (3 years ago)
  • 1737408
  • tsteuerwald (My Site)
  • Timo

Send me a message