Re: [Cppunit-devel] CppUnit 1.8.0 features...
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2001-09-25 10:40:03
|
Quoting Baptiste Lepilleur <bl...@cl...>: > Depending on how soon you want 1.8.0 to be, here is a list of > feature > that are simple to implement: > > 1) CPPUNIT_TEST_EXCEPTION( method, ExceptionType) > 2) CPPUNIT_TEST_FAIL( method ) > 3) add a flag to TestFailure distinguishing error/failure, retain > only > one collection to store result > (see other mail) > 4) CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TestFixtureType, SuiteName > ) : > register the fixture's suite in a suite of the specified name. > 5) Qt TestRunner (I've got it working, need feedback and help to > use > TMAKE to build a library instead of an application) > 6) ASSERT_EQUAL support for two differents compatible types 7) remove consteness on ASSERT_EQUAL. I would actually call that one a bug fix. While const is usefull when manipulating value object, it is a strong constraint. Personnaly, I have taken Michael Feather's advice on XP and C++ and don't use const on reference object (object who don't have public copy constructor). This make refactoring a lot easier, but writing assertion_traits black magic :-(. Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Language: English, French |