• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 43027
76
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic