aspose file tools*
The moose likes Servlets and the fly likes Ant runs tests twice? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Ant runs tests twice?" Watch "Ant runs tests twice?" New topic
Author

Ant runs tests twice?

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I am runing Ant 1.6.1 on Eclipse 3.08M, and I have the following problem:

Whenever I use junit task, all my tests are ran twice. Does anyone know why this happens? Here's the code in ant:



And the test file is just a normal file with 1 test. I put System.out.println("hi"), and it prints it twice. Also, the following output is in the screen:



Thanks in advance!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Hi Ivan, you might want to post this thread into the Ant forum, or if it is more specific to JUnit, into the forum that handles JUnit.

This forum is for Servlets questions.

I am going to close this thread to allow you to post in those other forums.

Thanks.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant runs tests twice?
 
Similar Threads
Ant/JUnit, BatchTest: ClassNotFound...
JUnit ant batch process failing
Ant/JUnit, BatchTest: ClassNotFound...
ANT issues - Unable to create JUnit Reports- Please help
ANT JUnit Problem