apply naming conventions to test-container test names

This commit is contained in:
Bahtiyar Kaba 2018-06-18 09:26:33 +03:00 committed by José Carlos Valero Sánchez
parent 8fd641b074
commit b0062c48ed
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import org.junit.ClassRule;
import org.junit.Test; import org.junit.Test;
import org.testcontainers.containers.DockerComposeContainer; import org.testcontainers.containers.DockerComposeContainer;
public class DockerComposeContainerTests { public class DockerComposeContainerUnitTest {
@ClassRule @ClassRule
public static DockerComposeContainer compose = public static DockerComposeContainer compose =
new DockerComposeContainer( new DockerComposeContainer(

View File

@ -13,7 +13,7 @@ import org.junit.platform.commons.annotation.Testable;
import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.GenericContainer;
@Testable @Testable
public class GenericContainerTests { public class GenericContainerUnitTest {
@ClassRule @ClassRule
public static GenericContainer simpleWebServer = public static GenericContainer simpleWebServer =
new GenericContainer("alpine:3.2") new GenericContainer("alpine:3.2")

View File

@ -13,7 +13,7 @@ import org.junit.platform.commons.annotation.Testable;
import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.containers.PostgreSQLContainer;
@Testable @Testable
public class PostgreSqlContainerTests { public class PostgreSqlContainerUnitTest {
@Rule @Rule
public PostgreSQLContainer postgresContainer = new PostgreSQLContainer(); public PostgreSQLContainer postgresContainer = new PostgreSQLContainer();

View File

@ -12,7 +12,7 @@ import org.testcontainers.DockerClientFactory;
import org.testcontainers.containers.BrowserWebDriverContainer; import org.testcontainers.containers.BrowserWebDriverContainer;
import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.GenericContainer;
public class WebDriverContainerTests { public class WebDriverContainerUnitTest {
@Rule @Rule
public BrowserWebDriverContainer chrome public BrowserWebDriverContainer chrome
= new BrowserWebDriverContainer() = new BrowserWebDriverContainer()