Parallel execution of scenarios #2184
mitchgrout
started this conversation in
Ideas
Replies: 1 comment
-
I reckon you would be best of creating a feature request at https://github.com/cucumber/cucumber-ruby. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
cucumber
to provide BDD testing within C/C++ libraries that I'm working on; this typically involves creating a REPL executable around my library, and usingaruba
to send various queries to perform my tests.The main issue I have is that my test executable, and
cucumber
, are both single-threaded, and so I often have a significant portion of CPU time left unspent. Similarly, some test executables tend to be IO-bound, leading to large waits between steps.I am aware that
parallel_cucumber
can assist here by spawning a process per feature, but this has a few downsides:pretty
andhtml
formatters, are unusable since each process attempts to write content to the same resource (stdout
, or the report file) simultaneouslyLooking at the source of
cucumber
andcucumber-core
, it seems feasible thatcucumber
itself could invoke scenarios in parallel, capturing the events and passing them to the underlying reporters in the correct fashion. C#'s SpecFlow also appears to have the same type of parallelism capabilities.I'd be happy to work on implementing this for Ruby.
Beta Was this translation helpful? Give feedback.
All reactions