Rework Docker Compose integration tests

This commit introduces a new annotation, `@DockerComposeTest`,
that allows a test class to have multiple tests, each of which
uses a different Docker Compose YAML file.

Closes gh-41154
This commit is contained in:
Andy Wilkinson
2024-06-19 19:27:10 -07:00
committed by Phillip Webb
parent 491f34d25c
commit 43cd24102f
29 changed files with 324 additions and 375 deletions

View File

@@ -77,10 +77,11 @@
<suppress files="FailureAnalyzers\.java" checks="RedundantModifier" />
<suppress files="SpringBootVersion" checks="JavadocPackage" />
<suppress files="spring-boot-configuration-processor[\\/]src[\\/]test[\\/]java[\\/]org[\\/]springframework[\\/]boot[\\/]configurationsample[\\/]" checks="SpringDeprecatedCheck"/>
<suppress files="WebEndpointTest\.java" checks="SpringTestFileName" />
<suppress files="CertificateMatchingTest\.java" checks="SpringTestFileName" />
<suppress files="ConversionServiceTest\.java" checks="SpringTestFileName" />
<suppress files="DockerComposeTest\.java" checks="SpringTestFileName" />
<suppress files="WebEndpointTest\.java" checks="SpringTestFileName" />
<suppress files="ImportTestcontainersTests\.java" checks="InterfaceIsType" />
<suppress files="MyContainers\.java" checks="InterfaceIsType" />
<suppress files="CertificateMatchingTest\.java" checks="SpringTestFileName" />
<suppress files="LoadTimeWeaverAwareConsumerContainers\.java" checks="InterfaceIsType" />
</suppressions>