[Cppunit-devel] question about document generation
Brought to you by:
blep
|
From: <Gzo...@ao...> - 2003-09-07 17:05:28
|
hello !
First of all, i want to congratulate you for CppUnit which is a great product
!
I am using it everyday (work days and weekends ! ;-) and spread it out as
much as i can ...
Now, comes my question :
I work in a company where paper and documentation is important :-\
I'll have to produce a document with the result of the test execution
produced by CppUnit.
So, my objective is to produce the "test document" automatically with
CppUnit.
The idea is the following :
- to be able to associate a documentation (objective of the test, kind of
requirement, ...) with every test
- to be able to run the tests as usual, recording success, failures and
errors
- to collect, for every test, the documentation and the result of the test.
The documentation could be a simple std::string associated with a test.
The formatting part of the document shouldn't be a problem either.
So the tricky part is to to be able to insert the documentation in CppUnit
framework.
How would you do that ?
I don't see how to do that without modifying the core of CppUnit.
Do you think there is a simpler way ?
Thanks in advance for your answer ...
Cheers from Paris (France, not Texas !)
Patrice
|