@RunWith causes Maven to ignore my Test running with my own runner

Posted by Benju on Stack Overflow See other posts from Stack Overflow or by Benju
Published on 2010-04-27T00:18:14Z Indexed on 2010/04/27 0:23 UTC
Read the original article Hit count: 581

Filed under:
|
|
|

I am moving from using only Intellij to manage my build system to Intellij/Maven. When I run my integration test "MapSimulationTest" with my own runner via @RunWith(KmlParameterizedRunner.class) Intellij correctly handles the situation, the directory specified by the system property "user.dir" is scanned for .kml files and each is tested.

The problem seems to be that Surefire ignores @RunWith, any suggestions?

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about java