cost 59 ms
如何让 maven surefire 正确执行 JUnit 和 TestNG 测试? - Howto have maven surefire execute JUnit and TestNG test properly?

一段时间以来,可以将 maven surefire 配置为在一个构建中执行 jUnit 测试和 testNG 测试。 我不会详细说明我这样做的原因(好吧,提示:testNG 是我们的标准框架,但像jnario这样的一些框架需要 jUnit)。 这样做的一般方法是像这样配置surefire插件: & ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM