Re: How to get the report of Tests run in junit
Posted By:
Stephen_Smith
Posted On:
Monday, July 25, 2005 07:20 AM
I'm not sure if any commercial or open-source solutions already address the problem of populating a DB with JUnit output, but it's relatively straightforward. When executing a TestCase it's possible to obtain a reference to a related TestResult object. The information associated with the TestResult could then be stored in a DB via JDBC.
Aside from storing test results in a DB, it's possible to use JUnit plugins to generate text- or XML-based support, such as that provided by Ant.