Prior to JUnit 4 it was common to name your test classes SomethingTest and then run JUnit across all classes matching *Test.java
. These days annotation driven JUnit 4, you just need to annotate your test methods with @Test
and be done with it. Your test classes are probably going to be under a different directory structure than your actual source (source in src/
test classes in test/
) so these days prefixes/suffixes are largely irrelevant.