> tests using Eclipse.
Did you find any good reason for this, and how did you eventually work
around it ?
Solved btw.. fingertrouble in the configuration of surefire
>
> Regards,
> Jimisola
> --
> View this message in context:
http://www.nabble.com/unit-test-works-in-Eclip
tually work
around it ?
Regards,
Jimisola
--
View this message in context:
http://www.nabble.com/unit-test-works-in-Eclipse-but-fails-in-maven-tf1771802.html#a5358371
Sent from the Maven - Users forum at Nabble.com.
-
To unsub
Hi!
I had a similar problem that was because of assertions. Assertions where
enabled when running test from console Maven, but disabled when running
tests using Eclipse.
Regards,
Jimisola
--
View this message in context:
http://www.nabble.com/unit-test-works-in-Eclipse-but-fails-in-maven
the sure plugin invokes another jvm to run the test, you need to configure
the debugger with surefire, not maven
maven-surefire-plugin
Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -
Djava.compiler=NONE
On 6/11/06, Kent Tong <[EMAIL PROTECTED]> wrote:
I had the same problem and I found this... Hope it helps
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
Tim
--
View this message in context:
http://www.nabble.com/unit-test-works-in-Eclipse-but-fails-in-maven-tf1771802.html#a5335955
Sent from the
Hi,
I have some junit tests and they pass if they're run in Eclipse. If
they're run from the Eclipse maven2 plugin or from maven2 directly,
many of them fail. I was trying to debug it by:
set MAVEN_OPTS=-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-Xnoagent
-Djava.compil