| Author |
ant's junitreport sucks
|
Jorge Bendahan
Ranch Hand
Joined: Apr 11, 2008
Posts: 82
|
|
|
Sorry for the title, it's just that i've done this really nice app for automated testing and my teacher asked me if i could display the test execution results on html or pdf format, i looked into this, and seemed like the only option is to use the junitreport ant task, i'm struggling with this for weeks, the reports generated dont give enough information and also it's quite ugly too, one of the things i think is missing is the lack of info where it comes to know why the test fail, like the command line runner output, another thing is that i want to keep track of the results like a history but the task is overwritting the past results. JunitReport just sucks.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26138
|
|
JUnit Report isn't meant to do history. It does tell you why tests failed - you just have to drill down to get to it. As for the "ugly", you can pass a stylesheet to it and make the report look "pretty" in any way you want.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26138
|
|
|
Moving to our Ant forum.
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
Do you have a question?
|
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
|
 |
Rodrigo Lopes
Ranch Hand
Joined: Feb 29, 2008
Posts: 118
|
|
|
You could dynamically set the report outputdir, and set a different value for each time you run your tests. This way you can keep the history of your tests.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
CruiseControl will show you a whole host of historical information. Might be easier than hand crafting your own solution.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Jorge Bendahan
Ranch Hand
Joined: Apr 11, 2008
Posts: 82
|
|
|
i'll take a look at cruise control.
|
 |
 |
|
|
subject: ant's junitreport sucks
|
|
|