continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jo Vandermeeren" <jo.vandermee...@gmail.com>
Subject Re: create test classes
Date Mon, 26 Feb 2007 21:17:00 GMT
Hi Martin,

First, your question should be asked in users@maven.apache.org since it is a
maven question and not really continuum-related.

Unfortunately Maven can not generate test classes automatically for you :-)

Just add the "test" directory under "src" and start adding test cases for
your classes in the same way like you add classes to your main source tree..

By default, maven will treat java files - that comply with the naming
pattern - in directory "src/test" as test cases..
They will automatically be compiled and executed before you package your
artifact..

Have fun
Jo

On 2/26/07, martin.villalobos@gmail.com <martin.villalobos@gmail.com> wrote:
>
> Hi, i need a help.
> I´m using maven burt... i didn´t create the project with maven using
> archetype plugin, but now, i want create the src/test for each java
> class of my project.
> How can i do it?
>
> Thanks and goodbye
>
> --
> Al fin y al cabo, somos lo que hacemos para
> cambiar lo que somos.
>
>                                 Eduardo Galeano.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message