logo       

Merging multiple Junit test results: msg#00105

java.cruise-control.user

Subject: Merging multiple Junit test results

Gday all.

I have a situation where I have many projects (a core application plus
many plugins).
The entire "project" is built from a single script which in turn calls
the individual build scripts passing classpaths etc.
This is the way I enforce ordered building due to the various (non
cyclic ;) ) dependencies of the different projects.

However, I have a problem with merging the results of the Junit tests.

Ordinarily in the CC config I'd have a path to the logs and a merge with
the Junit tests' results.
<log dir="logs/tipp">
<merge dir="checkout/testresults"/>
</log>
However, I've seen that I had to specify each projects results directory
to have them merged into the results. I don't want to have to modify the
config file every time a new project is added as this is something that
will be happening quite regularly now.

I've also seen that I cannot share a single directory for test results
for multiple builds as Junit seems incapable of merging new results with
an existing result set from another build.

Does anyone have any ideas how I can:
1/ have a single directory to merge into for unit test results
OR
2/ merge multiple directories into the CC logs without specifying
individually each directory.


Thanks for any advice.

Regards,

- Greg



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise