question about document generation

[email protected] Sun, 7 Sep 2003 13:04:41 EDT
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <[email protected]>
--part1_40.33fdab00.2c8cbf29_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

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

--part1_40.33fdab00.2c8cbf29_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<HTML><FONT FACE=3Darial,helvetica><FONT  SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=
=3D"Arial" LANG=3D"1">hello !<BR>
<BR>
First of all, i want to congratulate you for CppUnit which is a great produc=
t !<BR>
I am using it everyday (work days and weekends ! ;-) and spread it out as mu=
ch as i can ...<BR>
<BR>
Now, comes my question :<BR>
<BR>
I work in a company where paper and documentation is important :-\<BR>
I'll have to produce a document with the result of the test execution produc=
ed by CppUnit.<BR>
So, my objective is to produce the "test document" automatically with CppUni=
t.<BR>
<BR>
The idea is the following :<BR>
- to be able to associate a documentation (objective of the test, kind of re=
quirement, ...) with every test<BR>
- to be able to run the tests as usual, recording success, failures and erro=
rs<BR>
- to collect, for every test, the documentation and the result of the test.<=
BR>
<BR>
The documentation could be a simple std::string associated with a test.<BR>
The formatting part of the document shouldn't be a problem either.<BR>
So the tricky part is to to be able to insert the documentation in CppUnit f=
ramework.<BR>
<BR>
<BR>
How would you do that ?<BR>
I don't see how to do that without modifying the core of CppUnit.<BR>
Do you think there is a simpler way ?<BR>
<BR>
<BR>
Thanks in advance for your answer ... <BR>
<BR>
Cheers from Paris (France, not Texas !)<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Patrice<BR>
</FONT></HTML>
--part1_40.33fdab00.2c8cbf29_boundary--


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf