Win a copy of The Java Performance Companion this week in the Performance 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: 34672
367
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