Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] MockitoException with Maven but not with Eclipse

Hello,

i am experiencing strange behavior when using mockito 1.8.5 in my unit tests.

I can run my tests from within eclipse without any problems but when the test are run while building with tycho the tests fail with a MockitoException.
I think i am experiencing the problem described in [1]. This seems to be a class loading problem with surefire and should be solved in the Maven Surefire plugin - Version 2.7.1 [2] .
But i am experiencing the described behavior even using Tycho 0.14.0-SNAPSHOT and if i am not mistaken the version of the Maven Surefire plugin used in Tycho - version 0.14.0-SNAPSHOT is 0.10.0.

This leaves me a bit puzzled and stuck:
i cannot find any other information and have no idea what i can check or do to solve this problem.

I hope someone can point me in the right direction.

Regards,
Davy meers







Back to the top