Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grasshopper7/cuke4parallel

Parallel execution of Cucumber-JVM 4 scenarios from CLI using cucumber.api.cli.Main class
https://github.com/grasshopper7/cuke4parallel

cucumber-jvm java

Last synced: about 2 months ago
JSON representation

Parallel execution of Cucumber-JVM 4 scenarios from CLI using cucumber.api.cli.Main class

Awesome Lists containing this project

README

        

Refer to this article - https://ghchirp.site/283/

Cucumber-JVM 4 supports parallel execution across threads out of the box. This article describes how to run features directly from Java code inside a main method, from the CLI, JUnit test method or TestNG test method. This makes use of the run() method of the Main class contained in the cucumber.api.cli package. The run() method executes the feature files directly without the use of a runner. The options that need to be passed as a String[] to the run() method are described here.

To run Cucumber in parallel using JUnit4 refer to this https://ghchirp.site/464/ or with TestNG refer to this https://ghchirp.site/466/.