Wednesday, October 15, 2014

Maven does not find JUnit tests to run

By default Maven uses the following naming conventions when looking for tests to run:
  • Test*
  • *Test
  • *TestCase
Your test class doesn't follow these conventions. You should rename it or configure Maven Surefire Plugin to use another pattern for test classes.

No comments:

Post a Comment