title: Running JUnit test suite from inside Eclipse
body: <p>Historically, I've always written my unit tests like this:</p>
  
  <pre><code>public void WidgetTest {
      @Test
      public void test_whatever() {
          // Given...
  
          // When...
  
          // Then...
      }
  }
  </code></pre>
  
  <p>This allows me to right-click my test file in Eclipse and <code>Run As &gt;&gt; JUnit</code>, and test that 1 particular test, directly from inside Eclipse. Then, when doing a local (Ant-based) build, I configure a <code>&lt;junit&gt;</code> Ant task to run all of my <code>src/test/java</code> tests at once.</p>
  
  <p>I'm now looking for an in-between solution. That is, a way to run all of my test classes from inside Eclipse, all at once, with the click of a button. A co-worker recommended that Junit has a notion of a "test suite" that I could attach all of my test classes to, but it looks like this test suite is some sort of JAR/tool that I don't want to include in my project.</p>
  
  <p>So I ask: <strong>how can I define such a "test suite", consisting of all my test classes, and run all of them in one fell swoop, from inside Eclipse?</strong> Thanks in advance.</p>