Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

4. Tests execution and tests reports

jeangb edited this page Jun 28, 2017 · 2 revisions

Execute tests via your IDE

You can execute your tests via your IDE, Eclipse for example, using the TestNG plug-in. You can either execute the all test class or each test individually, by right clicking on the test class or test method, selecting "Run AS" -> "TestNG Test".

Execute tests via maven-surefire-plugin (suitable to continuous integration)

This method use a maven plug-in to execute tests in command line. There are multiple ways to do it.

It will generate html reports, see here.

Clone this wiki locally