This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant's junitreport sucks

 
Jorge Bendahan
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our Ant forum.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a question?
 
Rodrigo Lopes
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CruiseControl will show you a whole host of historical information. Might be easier than hand crafting your own solution.
 
Jorge Bendahan
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'll take a look at cruise control.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic