Class TestDatabaseAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(DataSourceAutoConfiguration.class)
public class TestDatabaseAutoConfiguration
extends Object
Auto-configuration for a test database.
- Since:
- 1.4.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TestDatabaseAutoConfiguration
public TestDatabaseAutoConfiguration()
-
-
Method Details
-
dataSource
@Bean @ConditionalOnProperty(prefix="spring.test.database", name="replace", havingValue="AUTO_CONFIGURED") @ConditionalOnMissingBean public DataSource dataSource(Environment environment)
-