TeamCity runs not all JUnit tests

TeamCity doesn't run JUnit tests from the classes which names don't contain token "Test". Is that by design? Is there a way to configure TeamCity to run all test regardless enclosing class name? Or I must rename all classes to *Test form to run all the tests they contain?

1 comment
Comment actions Permalink

Hi Roman,

The naming conventions are used in JUnit 3.8. Please install JUnit 4.x. It is recommended to place junit.jar file in VCS ubder you project (for more details see the last answer in this thread).

0

Please sign in to leave a comment.