The moose likes Servlets and the fly likes Ant runs tests twice? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 17225
    
    1

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Ant runs tests twice?
 
Similar Threads
JUnit ant batch process failing
ANT JUnit Problem
Ant/JUnit, BatchTest: ClassNotFound...
Ant/JUnit, BatchTest: ClassNotFound...
ANT issues - Unable to create JUnit Reports- Please help