File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get junit result in html?

 
Supriya Kaledhonkar
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to create a servlet to combine all my testcases and display the junit test results on html page.
How do I do this?

Thanks,
Supriya
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Supriya,
Can you use Ant or have your servlet call an Ant task? If so, the junitreport task does just this.
 
Uli Hofstoetter
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeanne Boyarsky:
Supriya,
Can you use Ant or have your servlet call an Ant task? If so, the junitreport task does just this.


The maven surefire report plugin also does the job.
[ May 29, 2008: Message edited by: Uli Hofstoetter ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic