maven故障保护插件不';t拾取测试NG测试
我对maven failsafe插件有疑问,当我指定:maven故障保护插件不';t拾取测试NG测试,maven,integration-testing,testng,spring-test,maven-failsafe-plugin,Maven,Integration Testing,Testng,Spring Test,Maven Failsafe Plugin,我对maven failsafe插件有疑问,当我指定: @ContextConfiguration(locations = {"classpath:testApplicationContext.xml"}) public class SomeIT extends AbstractTestNGSpringContextTests 插件无法再处理此测试 插件配置: <plugin> <groupId>org.ap
@ContextConfiguration(locations = {"classpath:testApplicationContext.xml"})
public class SomeIT extends AbstractTestNGSpringContextTests
插件无法再处理此测试
插件配置:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.18.1</version>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
org.apache.maven.plugins
maven故障保护插件
2.18.1
集成测试
集成测试
验证
验证
您能否显示完整的pom文件而不是摘录?1)您是否已将org.testng:testng
配置为此项目的test
依赖项?2) 您是否已将junit:junit
配置为此项目的依赖项?你需要1,但你不一定需要2。有关更多详细信息,请参见。