I am not sure if its problem with maven. I am trying to run it through eclipse. As I said I am new with JUnits completely dealing with the error eclipse throwing when running the tests. I will update on it once I get through it. Well it must be very basic which I don't know but it looks like every time I try to run any tests it follows the complete build procedure. SO it takes time in downloading all the dependencies declared in pom, compiling all the classes (it looks like it compiles all the source code classes and not just test classes), copying resources etc. Can you suggest some good reference to understand the details of process happening?
Thanks, Pradnya -----Original Message----- From: Nayan Hajratwala [mailto:[email protected]] Sent: Friday, November 05, 2010 3:46 PM To: Maven Users List Subject: Re: Running test takes too long On Nov 5, 2010, at 1:50 PM, Pradnya Gawade wrote: > Hi, > > I am new to running the test cases through maven. I am trying to run the > junit test cases trough maven. Even if I run the tests just from one > class having 2-3 tests it takes more then 15 minutes. Because I am > trying the debug the test cases it feels very time consuming just to see > the effect of minor corrections. Is there any way to work with it > faster? I use following commnd: > > mvn -Dtest=className test Are you sure it's a problem with Maven? Are they JUnit Tests? How long does it take to run the same test in a JUnit Runner like eclipse's? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
