• 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

Blank Junit Report is generated by ant

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am doing Unit Testing by JUnit and Ant.
The problem is that , ant is doing the Unit Testing by JUnit but a blank JUnit Report get generated which does not show any class or Package name.
I have tried it two ways.
Actually, I have one class called Book and two Test Cases called BookTest1 and BookTest2 .
The two ways are :
1> I am writting a Test Suite and calling the Test Cases inside that Test Suite.
2> I am running the two Test Cases one by one.

Regards
Tanka Banerjee
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tanka,
Can you post the code? Also, does the output at the command line say if the JUnit tests have run?
 
Tanka Banerjee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am unable to post the build.xml and Command prompt output due
to "<" in build.xml .
The post is also available with build. xml and command prompt output
in www.java.sun.com .
http://forum.java.sun.com/thread.jspa?threadID=5241959

Regards
Tanka Banerjee

[ December 02, 2007: Message edited by: Tanka Banerjee ]
 
Tanka Banerjee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
The problem got solved now.
Thanks
Tanka Banerjee

http://forum.java.sun.com/thread.jspa?messageID=9999367


reply
    Bookmark Topic Watch Topic
  • New Topic