TestNG results in IntelliJ and Jenkins
For running Selenium WebDriver or AppiumDriver tests, the TestNG components are already built into the framework to create a simple report in the IntelliJ IDE. The report can be also be exported and viewed in HTML or XML format. It is not an elaborate report to say the least, but it does give statistics and a runtime view of the tests running alongside the console window.
IntelliJ TestNG results
The following screenshot shows the IntelliJ TestNG and IDE console windows. It provides the test method names, parameter values, and any standard output printed to the console window:
IntelliJ TestNG results and console windows
The IDE results can also be exported to HTML format to view in a browser:
IntelliJ TestNG results total
These are the test by test results:
IntelliJ exported TestNG HTML report
Jenkins TestNG results
TestNG can also be used as a plugin to Jenkins, as it provides similar results which can be drilled down to view stacktrace or console output. On...