surefire 和 surefire-report plugin
今天遇到了很奇怪的事情,浪费了两个小时。还是因为过于自信,没有仔细看配置。maven 配置里面怎么也不能用上自己配置的testng.xml, 用了这么久,居然遇到这种问题。为此特意写了一个测试工程。最后才发现,居然在改用surefire的地方用到了surefire-report,下面是正确的配置,testng.xml就在项目根目录下,<build><plugins><plugin><groupId>org.a...