• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Based JUnit testing

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any way that I can show RED,Green color Junit results in the web page ?. I am calling TestAll class from a servlet. From webbrowser when I excute servlet I can see results in the console. Is there any way i can see Junit colored grid for exceptions and results,retry specific test method etc ??? like all u do in a JUnit applet ?.

Thanks
Sudhakar
 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Heloo....I did worked in a project for a short time there we used webbased JUint testing. The initial page will show u all the test classes in a list box. I can select individual class and say run, then next page shows Green/Red color bar and bottom it will sho all the methods and in Test information.If 3 methods success and one method fails, You an just simply click on the falied methods to make it run after made changes to the code. But I did not had a chance to debug how they did it. I am just wondering if any one worked before.

Thanks
Sudhakar
 
author
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not exactly what you are asking for but have you considered a Continuous Integration system like CruiseControl?

It runs your tests every time someone commits changed code and makes the results available via several interfaces, included a web page.

Here are a few CruiseControl links.
CC at SourceForge.
CC Jira Wiki
My Continuous Integration page

A CI system has the advantadge of not forgetting to run the tests like developers tend to do...
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to take a look at http://groups.yahoo.com/group/junit/message/14954
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could also check out JUnitEE.
[ September 29, 2005: Message edited by: Ulf Dittmer ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic