title: Spring-boot default profile for integration tests
body: <p>Spring-boot utilizes <a href="http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-profiles.html" rel="noreferrer">Spring profiles</a> which allow for instance to have separate config for different environments.
  One way I use this feature is to configure test database to be used by integration tests.
  I wonder however is it necessary to create my own profile 'test' and explicitly activate this profile in each test file?
  Right now I do it in the following way:</p>
  <ol>
  <li><p>Create application-test.properties inside src/main/resources</p>
  </li>
  <li><p>Write test specific config there (just the database name for now)</p>
  </li>
  <li><p>In every test file include:</p>
  <pre><code>@ActiveProfiles(&quot;test&quot;)
  </code></pre>
  </li>
  </ol>
  <p>Is there a smarter / more concise way? For instance a default test profile?</p>
  <p>Edit 1: This question pertains to Spring-Boot 1.4.1</p>