This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get junit result in html?

 
Supriya Kaledhonkar
Greenhorn
Posts: 5
  • 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: 34410
346
Eclipse IDE Java VI Editor
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic