org.springframework.boot.test

Annotation Type IntegrationTest



  • @Documented
    @Inherited
    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    @TestExecutionListeners(listeners={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class,org.springframework.test.context.transaction.TransactionalTestExecutionListener.class})
    public @interface IntegrationTest
    Test class annotation signifying that the tests are integration tests (and therefore require an application to startup "fully leaded" and listening on its normal ports).
    Author:
    Dave Syer
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      String[] value
      Properties in form key=value that should be added to the Spring Environment before the test runs.
    • Element Detail

      • value

        public abstract String[] value
        Properties in form key=value that should be added to the Spring Environment before the test runs.
        Default:
        {}

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.