Cucumber7.xTestNGLatestPOC
This repository contains a Proof of Concept (POC) for running Cucumber tests in parallel using TestNG with Cucumber 7.x. The project demonstrates how to set up and configure your test framework to execute Cucumber scenarios in parallel with TestNG.
Java 8 or higher Maven 3.x
Clone the repository:
git clone https://github.com/naveenanimation20/Cucumber7.xTestNGLatestPOC.git
cd Cucumber7.xTestNGLatestPOC
mvn clean test
The tests will execute in parallel, and you can view the test results in the target/cucumber-reports directory.
To adjust the level of parallelism, edit the testng.xml file and update the thread-count attribute to the desired number of threads:
<suite name="Cucumber Parallel Suite" verbose="1" parallel="tests" thread-count="5">
You can also add or remove elements in the testng.xml file to control the number of parallel test executions.
Feel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.
This project is licensed under the MIT License. See the LICENSE file for more information.