Menu

Extending TestCase

2000-10-09
2000-10-09
  • Erik Ramfelt

    Erik Ramfelt - 2000-10-09

    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.. ???

     
    • Eric Sommerlade

      Eric Sommerlade - 2000-10-09

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.