【发布时间】:2021-04-20 11:43:45
【问题描述】:
我想在班级级别对测试进行参数化。下面的例子:
@BeforeAll
public void setup() {
PropertiesLoader.loadProperties("remote.properties");
// PropertiesLoader.loadProperties("remote2.properties");
}
我想用 remote.properties 和 remote2.properties 运行测试。 JUnit 5 中有注释吗?
【问题讨论】: