Maybe Kim wanted to know "where"?
Maven expects that Java unit tests are stored in src/test/java . All
test classes called Test*.java or *Test.java in src/test/java will be
run automatically during the maven test phase.
For example, if you have a unit test com.example.ExampleTest you should
define it in:
src/test/java/com/example/ExampleTest.java
Then when you run "mvn clean install" for your module, the unit test
suite com.example.ExampleTest will be run before the artifact is installed.
Kind regards,
Ben.
On 27/01/11 12:40, Wayne Fay wrote:
I am very 'baby' to this maven so very sorry for the basic question below.
How to keep the unit testcase?
The reason you've received no replies as yet is because your question
makes no sense. Please describe the problem you are having, what you
expect/need from Maven, and what you are currently experiencing.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]