Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

On 24 July 2012 13:10, Markus Karg <karg@xxxxxxxxx> wrote:
> Well, „canBeEdited“ is the Unit Test itself, so it cannot be the source, as
> it runs well in mvn (and, BTW, it does nothing but simply creating an
> instance of a class).

By default, de.quipsy.entities.ProjectAPQPCompliance.canBeEdited is
not a class that will automatically be run by  Maven;

"By default, the Surefire Plugin will automatically include all test
classes with the following wildcard patterns: ..."

Are you sure that that class is actually being run when called via Maven?


Back to the top