Discussion:
[Cppunit-devel] Testing of parameters in tested function
CppUnit development mailing list
2007-05-02 10:14:11 UTC
Permalink
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).



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.



Thank you for answer, Jan Mach.

Loading...