title: Selenium junit tests - how do I run tests within a test in sequential order?
body: <p>I am using junit with eclipse to write function tests. </p>
  
  <p>When running an individual test it runs in the order that I have them set within the class.</p>
  
  <p>Eg.</p>
  
  <pre><code>testCreateUser
  testJoinUserToRoom
  testVerify
  testDeleteUser
  </code></pre>
  
  <p>However when I run this test as part of a suite, (so in a package) the order is random.</p>
  
  <p>It will for example do the verify, then delete user then joinuserToRoom then Createuser.</p>
  
  <p>My tests within the suite are not dependent on each other. However each individual test within a test is dependent on them being run in the correct order.</p>
  
  <p>Is there any way I can achieve this?</p>
  
  <p>Thanks.</p>