Is there a way to (easily) generate a HTML report that contains the tests results ? I am currently using JUnit in addition to Selenium for testing web apps UI.
PS: Given the project structure I am not supposed to use ANT :(
Is there a way to (easily) generate a HTML report that contains the tests results ? I am currently using JUnit in addition to Selenium for testing web apps UI.
PS: Given the project structure I am not supposed to use ANT :(
If you could use ANT then you would just use the JUnitReport task as detailed here: http://ant.apache.org/manual/OptionalTasks/junitreport.html, but you mentioned in your question that you're not supposed to use ANT. I believe that task merely transforms the XML report into HTML so it would be feasible to use any XSLT processor to generate a similar report.
Alternatively, you could switch to using TestNG ( http://testng.org/doc/index.html ) which is very similar to JUnit but has a default HTML report as well as several other cool features.
Alternatively for those using Maven build tool, there is a plugin called Surefire Report.
The report looks like this : Sample