title: Eclipse JUnit4: exclude tests using a name pattern
body: <p>Is it possible to specify in the JUnit Run configuration in Eclipse a name pattern (say **/integration/*Test) that should be excluded from the test run when running all tests of a project?</p>
  
  <p>Looking at options in the Run/Debug Configuration I presume this question could be reduced to: is it possible exclude certain tests based on junit runner command line parameters.</p>
  
  <p>I'm not interested in creating (and maintaining) <a href="http://www.lostechies.com/blogs/joe_ocampo/archive/2008/04/14/junit-4-testsuite-declaration.aspx" rel="noreferrer">Test Suites</a>.</p>
  
  <p>Another alternative solution (still not interested in that one, though) is to create to separate directories containing test files:</p>
  
  <ul>
  <li>yourProject/tests</li>
  <li>yourProject/integration-tests</li>
  </ul>
  
  <p>and selecting that directory in order to run all tests in it (or changing the "Run all tests in the selected project, package or source folder" in the Test tab of the Run Configuration).</p>
  
  <p>I'm using:</p>
  
  <ul>
  <li>Eclipse 3.5</li>
  <li>JUnit 4</li>
  </ul>
  
  <p>Any tips/advice greatly appreciated!</p>