title: Avoid restarting server every time when tiny changes on integration tests
body: <p>Avoid restarting the server every time when tiny changes on integration tests</p>
  
  <p>I'm new to Spring and feeling a lot of pain on writing integration tests on Spring.</p>
  
  <p>For example, say I'm running an integration test and change the code below.</p>
  
  <p>See, there's nothing related to the server code change.</p>
  
  <p>To run the new updated integration test code, I have to launch the webserver and data seeding again which might take 5 minutes long.</p>
  
  <p>Hard to imaging how people manage this way for development.</p>
  
  <p>I'm not sure if it is possible to launch the webserver along by <code>bootRun</code> and the integration test should try to communicate the dedicate server without bothering to reboot the servers for running tests.</p>
  
  <p>Usually, which part config file will define this behavior?</p>
  
  <p>I took over this project and have to figure it out my own.</p>
  
  <h1>Before</h1>
  
  <pre><code>    serverResp.then()
              .statusCode(203)
              .body("query.startDateTime", equalTo("2018-07-01T00:00:00"))
  </code></pre>
  
  <h1>After</h1>
  
  <pre><code>    serverResp.then()
              .statusCode(200)
              .body("query.endDateTime", equalTo("2020-07-01T00:00:00"))
  </code></pre>