Cucumber is a popular automation testing tool for Behaviour-Driven Development (BDD) but when you use it for some time in your work project then the amount of automated tests adds up and you can spend dozens of minutes to run your Cucumber test suite. Sometimes complex projects can have a few hours of execution time for the Cucumber tests. To save time and speed up your Cucumber builds on CI (Continuous Integration) you can use CI parallelization. In this article, you will see how to do it for Jenkins using Jenkins parallel pipeline.

How to split Cucumber tests in parallel

Jenkins allows you to configure pipeline as code and use Jenkins pipeline stages to define tasks that will be executed in parallel (at the same time).

In this example, you will use continuous integration tools like cucumber ruby gem and knapsack_pro gem to split tests across parallel Jenkins stages.

#jenkins #ci #pipeline

Cucumber testing with Jenkins parallel pipeline to get down CI build time
1.50 GEEK