title: Can you run all JUnit tests in a package from the command line without explicitly listing them?
body: <p>Provided the test classes and JUnit are both on the classpath, one can run JUnit tests from the command line as follows:</p>
  
  <pre><code>java org.junit.runner.JUnitCore TestClass1 TestClass2
  </code></pre>
  
  <p>Now, is there a way to run all tests in a package (and sub-packages) as well?</p>
  
  <p>I'm looking for something like</p>
  
  <pre><code>java org.junit.runner.JUnitCore com.example.tests.testsIWantToRun.*
  </code></pre>
  
  <p>Is there an easy way of doing that (that doesn't involve maven or ant)?</p>