Surefire:test goal not picking tests

北战南征 提交于 2019-12-23 03:30:33

问题


With Maven, when I run the ‘test’ goal, tests are processed. When I run the ‘surefire:test’ goal, tests are not processed.

However, I’ve mentioned the surefire plugin this way in pom.xml:

 <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.22.0</version>
    <configuration>
      <suiteXmlFiles>
        <suiteXmlFile>foo.xmlxml</suiteXmlFile>
      </suiteXmlFiles>
    </configuration>
</plugin>

Can you explain this behaviour?

来源:https://stackoverflow.com/questions/51903460/surefiretest-goal-not-picking-tests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!