- add plugin to pom file:
- than you can find your report in folder
</dependencies>- and config your testng.xml file:
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<!--configuration>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration-->
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Suite1" verbose="1" >
<test name="Nopackage" >
<classes>
<class name="ua.aqa.aqa"/>
</classes>
</test>
</suite>
- than you can find your report in folder
"..\project\target\surefire-reports"
Комментариев нет:
Отправить комментарий