October 2018
Intermediate to advanced
192 pages
5h 12m
English
The testng.xml that is shown in the preceding code will be triggered from pom.xml. Let's understand how this triggering takes place. For the triggering to happen, a plugin called Maven Surefire Plug-in is used. The corresponding dependency is placed in the pom.xml inside the <plugin></plugin> tag, as shown in the following code snippet.
Apart from the Maven Surefire plugin, another plugin called the Maven Compiler plugin is also required. For integration tests, the Maven failsafe plugin should be used.
The following snippet of the pom.xml shows the <build></build> tags, inside which are <plugins></plugins> tags. Place the dependencies inside the plugins tag, as shown in the following ...
Read now
Unlock full access