[Cppunit-devel] Change done...
Brought to you by:
blep
From: Baptiste L. <bl...@cl...> - 2001-06-11 20:09:10
|
Well, I finally comitted the thing. I checkout the project and it compiled fine, so everything should be there (a lot of files have been added). You should have exactly 80 unit tests running in cppunittests, and one failing among those (that means 79 passing). If you don't, I somehow messed up while updating the make file (and I probably forgot to update the ChangeLog for that test too). I'd like if someone could check the failing test case. It's ExceptionTest::testAssignment(). I tried to find what's wrong, but I just don't get it. Here is what we should try to do the next time we make some change to CppUnit: - look over the unit test for the class - if you have an hard time figuring out what a test did, rename it! (and make sure to make it fail to see if it is still run) - add a test for the new feature or to demonstrate the bug that is being fixed This should let us have a got test suite over time... To bad this can't be applied for portability fix :-(. Note that the code could use some refactoring. Many test that run TestCase have an m_result instance and a checkResult() method... There is a remaing unit test for NotEqualException to write, and use that exception with the assertEquals(). Have fun, Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Author of The Text Reformatter, a tool for fanfiction readers and writers. Language: English, French (Well, I'm French). |