There is a new MAVEN plugin available at SourceForge 
(http://sourceforge.net/project/showfiles.php?group_id=
23890&release_id=108780)

MOTIVATION
=========================================

+) JUNITPP (http://sourceforge.net/projects/junitpp/) is 
an extension of the JUNIT library and provides a test 
data repository, multithreading and test repetition from 
the command line to facilitate testing of server side 
code.

+) It's main purpose is for profiling single test cases or 
test suites - well, also for testing database system 
where you have to switch between database - 
something I found too difficult with JUNIT

+) The plugin provides an integration with JPERFANAL 
(http://jperfanal.sourceforge.net/) - a GUI frontend for 
the Java Profiling Agent available since JDK 1.2 -
profiling at your finger tips

PLUGIN TARGETS
=========================================

+) junitpp - same as junitpp:test
+) junitpp:test - runs a test
+) junitpp:generate-report - runs and profiles a test
+) junitpp:view-report - starts JPERFANAL with the 
created profiling log from "junitpp:generate-report"
+) junitpp:info - prints the configuration

CONFIGURATION
=========================================

+) maven.junitpp.target=name of the test suite
+) maven.junitpp.options=options

Unfortunately you HAVE to specify which test suite to 
execute - not doing this results in an error. I was not 
smart enough to create a proper JELLY if statement for 
catching this omission ... :-( 

The options are

+) -r X ... execute a test X times
+) -t name ... execute only the test with the given name
+) -s Y ... execute the test with Y worker threads
+) -v ... turn on the verbose mode
+) -w Z ... wait Z milliseconds between two test

Examples:

maven.junitpp.options=-r 10
maven.junitpp.target=test.junit.extensions.AllTests


ENVIRONMENT
=========================================

+) Maven b6


MISC
=========================================

+) Feedback appreciated
+) Greetings to Martin Poeschl - another humble 
contribution of an Open Source Consumer ... ;-)



Siegfried Goeschl
CTO
=================================

IT20one GmbH
mail: [EMAIL PROTECTED]
phone: +43-1-9900046
www.it20one.at


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to