Refactor RuntimeOptions.cucumberFeatures out of RuntimeOptions #1366
Labels
good first issue
Good for newcomers
🙏 help wanted
Help wanted - not prioritized by core team
🧷 pinned
Tells Stalebot not to close this issue
Currently
RuntimeOptions
has too many responsibilities. In addition to managing the runtime options:Ultimately
RuntimeOptions
should become an immutable data class that implements several different interfaces to be used by different consumers.Solving this can be done in several steps. This is one such step:
RuntimeOptions.cucumberFeatures
and related functions should be in their ownCucumberFeatures
class. The responsibility of emitting theTestRunStarted
should be moved to the callers ofcucumberFeatures
.So ultimately the dependency graph will be :
The text was updated successfully, but these errors were encountered: