title: junit assume command - can i put it inside setup method to ignore all tests
body: <p>I have a set of test cases and i would like the entire file ignored if some condition is met.  Can i use 
  <code>Assume.assumeTrue(precondition);</code> in the setup method to ensure that if a precondition is false that the test will not run in the entire file?</p>
  
  <p>so if i had a setup method like this:</p>
  
  <pre><code>@Before
      public void setUp() throws Exception {
          super.setUp();
       Assume.assumeTrue(1==3);//entire test file should be ignored is my hope
         //some setup stuff ...
      }
  </code></pre>
  
  <p>can i hope that none of my test will run ? this is my end goal that on some condition being met i can ignore all tests in a file. I have tried it and it seems to ignore them but want a expert opinion and i dont want the Assume method to affect any other tests besides the one in the file its called in. </p>