[Cppunit-devel] Testing of parameters in tested function
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2007-05-02 10:14:11
|
Hi, I adopted CppUnit into our big project - it works smoothly, really thanks. But we have following mental problem: each function should test its parameters if they are valid (those tests must be performed inside of that function). We would like to be sure, that function tests if parameters are valid from CppUnit test cases to be sure, that some developers did not change those tests. It would be also good if such a function asserts during standard run (when not run from test case). =20 I added such things into my local copy of CppUnit and it seems to work OK. Do you thing that anybody else would be interested in such extension? I am able to contribute it into head branch if answer is possitive. Or is there other procedure to be followed? I choosed direct question, because I have functional request and also its solution. =20 Thank you for answer, Jan Mach. =20 |