You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ju...@bnpparibas.com on 2004/05/11 11:37:39 UTC
Réf. : Bug in the junit plugin?
Hi
maven.junit.jvmargs is supposed only enabled when junit fork is enabled, in your case you seem to invoke the test:match on a single testcase, could
you verify if junit is still forking ?
if not perhaps give a try to "maven.test.source = 1.4"
K.
Extranet
frederic.gedin@c2mr2.org - 11/05/2004 13:27
Veuillez répondre à users@maven.apache.org
Pour : users
cc :
Objet : Bug in the junit plugin?
Hello
I am facing a problem with maven junit plugin:
I put some asserts inside my code and gave the following options in the
project.properties file:
maven.junit.fork=true
maven.junit.jvmargs=-ea
When running "maven -X test", I clearly see that the JVM is invoked with
the "-ea" option. However when I invoke "maven -X -D
testmach="TestSingle" test:match", the JVM is invoked without the "-ea"
options my asserts do not generate any exception.
Is this a known bug or a know restriction?
Regards
Frédéric
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Réf. : Bug in the junit plugin?
Posted by Frederic Gedin <fr...@c2mr2.org>.
julien.kirch@bnpparibas.com a écrit :
>Hi
>
>maven.junit.jvmargs is supposed only enabled when junit fork is enabled, in your case you seem to invoke the test:match on a single testcase, could
>you verify if junit is still forking ?
>
>if not perhaps give a try to "maven.test.source = 1.4
>
Hi
Yes maven is still forking when invoked on a single testcase.
I forgot to say that the "maven.test.source = 1.4" was already part of
my project.properties file. I assume that, if it wasn't even the full
testing would not work.
Regards
Frederic
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org