title: Using JUnit, Maven and Hudson/Jenkins for integration tests
body: <p>We are going to use <code>Hudson/Jenkins</code> build server to both build our server applications (just calling <code>maven</code>) and run integration tests against it. We are going to prepare 3 <code>Hudson/Jenkins</code> jobs: for build, deploy and run integration tests, which call each other in this order. All these jobs (build, deploy, integration tests) will be running nightly. </p>
  
  <p>The integration tests are written with <code>JUnit</code> and are invoked by <code>mvn test</code>, (which will be invoked by the "test" <code>Hudson/Jenkins</code> job in turn). Since they require the server to be up and running we have to run that "deploy" job.  </p>
  
  <p>Does it make sense? Is there are any special server to deploy application and run tests or <code>Hudson/Jenkins</code> is ok for that?</p>