title: How to make JUnit test cases to run in sequential order?
body: <p>I am using JUnit4.</p>
  
  <p>I have a set of test methods in a test case.</p>
  
  <p>Each test method inserts some records and verify a test result and finally delete the records inserted.</p>
  
  <blockquote>
    <p>Since the JUnit run in parallel, test methods fail because of some
    records present during the execution of previous test method. This
    happen only in my colleague machine(Windows 7), not in my machine(Cent
    OS 6).</p>
  </blockquote>
  
  <p>What we need is that the test methods have to pass in all our machines.</p>
  
  <p>I have tried clearing the records in the Setup() method but again it works only on my machine. Is there any option available in JUnit to make the test methods to run in a uniform sequential order ?</p>
  
  <p>Thanks,</p>