Home > Uncategorized > More on Maven JUnit 4 testing

More on Maven JUnit 4 testing

In order for Surefire Maven plugin to recognize JUnit test classes their names must end in …Test

for example:

MyTests.java – will be ignored (even though it is annotated with @Test)

Categories: Uncategorized Tags: , , ,
  1. rasmus
    November 21, 2009 at 12:42 am

    they could also be starting with a Test…

  1. No trackbacks yet.

Leave a comment