Replies: 1 comment 2 replies
-
There is no feature matrix. Cucumber JS supports parallel execution. See https://github.com/cucumber/cucumber-js/blob/main/docs/parallel.md Cucumber CPP is ran through Cucumber Ruby, which has some but limited support for parallelism. See cucumber/cucumber-ruby#1760. Though I can't say how much of that will work in combination with Cucumber CPP.
What do you mean by true parallel execution?
It sounds like you want to set the conditions of your test as a second order effect of how Cucumber runs your tests. This is not advisable. Cucumber treats each scenario and example as independent. The correctness of your overall test should not depend on the exact manner in which Cucumber executes individual scenarios and examples. Instead of running Cucumber scenarios in parallel you may want to consider merging your scenario outlines into a single scenario. Then within that scenario use a data table to set up the actors in your system and run these actors in parallel. I.e: Scenario: Example
Given these actors
| actor | speed |
| A1. | fast |
| B2. | slow |
When ran in parall
Then it worked
|
Beta Was this translation helpful? Give feedback.
-
Is there a summary somewhere that explains which cucumber implementations support true parallel execution of scenario outlines?
The documentation only covers Java (cucumber-jvm) as far as I can tell. Does this mean that this capability is only present in the Java implementation?
https://cucumber.io/docs/guides/parallel-execution/?lang=java
In my current team we have run experiments with cucumber.js (Node.js) and cucumber.cpp but with no success in achieving parallel test execution of scenario outlines.
Our use case is functional system integration testing of a complex cyclical state machine where we want to use test parallelization to simultaneously control multiple moving units on a linear route.
Beta Was this translation helpful? Give feedback.
All reactions