假设我有一个抽象类,称为AbstractTestWithNetwork规则: @RunWith(JUnit4.class)
public abstract class AbstractTestWithNetwork {
@ClassRule
public static Network network = Network.newNetwork();
@ClassR
我试图对dockered数据库运行dropwizard的集成测试。 Dropwizard Testcontainers 我已经试过: @ClassRule
public static final PostgreSQLContainer postgres = new PostgreSQLContainer();
@ClassRule
public final DropwizardAp