Rename integration tests to end with IT.

This commit is contained in:
Gerrit Meier
2019-03-08 17:02:27 +01:00
parent e0a76fe780
commit bb48337187
2 changed files with 3 additions and 11 deletions

View File

@@ -332,9 +332,6 @@
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
</includes>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
</excludes>
<skipTests>${skipUnitTests}</skipTests>
</configuration>
</plugin>
@@ -350,11 +347,6 @@
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>

View File

@@ -41,15 +41,15 @@ import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
@ExtendWith(SpringExtension.class)
@ContextConfiguration(classes = RepositoryIntegrationTest.Config.class)
@ContextConfiguration(classes = RepositoryIT.Config.class)
@Testcontainers
class RepositoryIntegrationTest {
class RepositoryIT {
@Container private static Neo4jContainer neo4jContainer = new Neo4jContainer().withAdminPassword(null);
private final PersonRepository repository;
RepositoryIntegrationTest(@Autowired PersonRepository repository) {
RepositoryIT(@Autowired PersonRepository repository) {
this.repository = repository;
}