maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "VanIngen, Erik (ESTG)" <Erik.VanIn...@fao.org>
Subject RE: Regarding junit test
Date Fri, 06 Mar 2009 08:21:56 GMT
Maven follows the convention over configuration principal. 

This means that by convention, all your tests within {your
project}/src/test/java will be run automatically. 

Another convention is that Maven follows always this lifecycle:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.htm
l

Running the tests is part of the Maven lifecycle. 

Surefire is the xml representation of the report of the build you run by
Maven. You can find this xml in the {your project}//target/surefire-reports
This xml can be used to make nice reports of the build. 



-----Original Message-----
From: nani2ratna [mailto:nani2ratna@gmail.com] 
Sent: Friday, March 06, 2009 8:36 AM
To: users@maven.apache.org
Subject: Regarding junit test


Hi,

How does maven calls junit test cases when we run command mvn test.
and what is the surefire, how it runs, can any body send me the link of this
documentation

Thanks and regards 
ratna
-- 
View this message in context:
http://www.nabble.com/Regarding-junit-test-tp22367494p22367494.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message