Hi Ralf!

I renamed the classes, but that did not change a thing.

By now, it works with @Ignore, but that is quite annoying.

I'll check how to configure surefire/maven test later.

Cheers,
Peter

Ralf Joachim schrieb:
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




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

   http://xircles.codehaus.org/manage_email


Reply via email to