Hi Peter,

do the classes that mvn tries to execute as junit test have the word
'test' in their name? Could you try what happens if you rename them?

Regards
Ralf

Peter Schmidt schrieb:
> Hi!
>
> I created a couple of JUnit4 tests in the cpa module (JPA support for
> Castor). JUnit4 is even used by MVN (according to stacktraces in
> reports) as I added it to the pom locally.
>
> Now my problem is, that I need a couple of classes defined to test -
> nested classes and classes and "normal" ones, to test JPA processing
> with. I Eclipse, JUnit runs perfectly. But using mvn, JUnit tries to
> run the nested classes aswell - which is not possible because they are
> not runnable! Right now I'm putting an @Ignore on every class that is
> not a testcase but so to say a test-object or ressource. Is this
> really necessary?
>
> Thanks in advance!
>
> Cheers,
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to