Posts

Parallel Execution using Failsafe plugin

  Running Cucumber Feature using Failsafe plugin in place of Maven Surefireplugin.   Maven Project Structure.      D:. ├───.settings └───src     ├───main     │   ├───java     │   │   └───parallelExecution     │   └───resources     └───test         ├───java         │   ├───cucumberRunner         │   └───StepDefination         └───resources             └───parallel We need to add the   Failsafe plugin in POM.xml      Rename the runner class to  RunCucumberIT           <plugin>     <groupId>org.apache.maven.plugins</groupId>     <artifactId>maven-failsafe-plugin</artifactId>     <version>2.21.0</version>   ...

BDD cucumber Parallel execution

  Parallel Execution pom.xml     < project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >   < modelVersion > 4.0.0 </ modelVersion >   < groupId > Automation </ groupId >   < artifactId > parallelExecution </ artifactId >   < version > 0.0.1-SNAPSHOT </ version >                                < dependencies >                                            ...