Refactor Runtime.filters and matchesFilters out of Runtime #1352
Labels
good first issue
Good for newcomers
🙏 help wanted
Help wanted - not prioritized by core team
🧷 pinned
Tells Stalebot not to close this issue
To make the first baby steps towards implementing a Cucumber Runner for JUnit 5 we'll need to make it possible to filter a list of features without creating a
Runtime
instance.Currently
Runtime
assemblesRuntime.filters
internally fromRuntimeOptions
but only accesses it throughRuntime.matchesFilters
. This should make it possible to extractRuntime.filters
andRuntime.matchesFilters
in to Filters class.It'd be also useful to create a
Filters.getFilters()
class that handles the creation of a list of filter. This is currently done in Runtime through.Desired dependency graph:
The text was updated successfully, but these errors were encountered: