jQuery in Action, 2nd edition*
The moose likes Testing and the fly likes Generate a report of names of TestCase.testMethods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Generate a report of names of TestCase.testMethods" Watch "Generate a report of names of TestCase.testMethods" New topic
Author

Generate a report of names of TestCase.testMethods

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Hello,
I need to generate a simple report containing the names of all the
TestCase.testMethods run during the execution. Much like the Call
Hierarchy displayed in Eclispe-junit runner or in the
swingui.TestRunner.
Is it possible using the textui.TestRunner ?
Thanks
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
You should take a look at Jakarta Ant and its JUnit and JUnitReport tasks: http://ant.apache.org/manual/OptionalTasks/junitreport.html


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate a report of names of TestCase.testMethods