-
Notifications
You must be signed in to change notification settings - Fork 12
Description
🤔 What's the problem you're trying to solve?
When using Reqnroll for unit tests tied closely to domains' rules and requirements one might easily ends up with hundreds of feature files.
Currently the rendered order of all features is always the same as the order in the .ndjson file.
As far as I understand there is an assumption that produced cucumber messages is just a stream which then dictates the order in said file and thus the order of the rendered html.
This is probably fine for non parallell test runs as the order should then reflect the iterated file paths.
However for test runs that run in parallell this results in an unordered list of features.
I raised this originally in reqnroll/Reqnroll#233 .
✨ What's your proposed solution?
Always sort by folders and feature name.
⛏ Have you considered any alternatives or workarounds?
Leave the sorting to the producer (Reqnroll in this case) somehow, either by default or by configuration.
However this forces every other producer to solve the same problem.
📚 Any additional context?
No response