Search code examples
javaeclipsejunitsuite

How do I make Eclipse recognize JUnit tests when creating a suite?


When I use Eclipse to create a JUnit test suite, it does not detect any existing tests, and warns "No test classes selected."

I started from the test class package (test/com/.../package), and the package is selected. There are several JUnit tests there, also created through the same version of Eclipse, but there is no way to select them.

I am using JUnit 4.

Thanks!


Solution

  • The wizard for creating a suite currently only works with JUnit 3 tests, see corresponding bugzilla entry.