Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Junit Platform] Support cucumber.filter.name #2065

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

mpkorstanje
Copy link
Contributor

A typical way to run a single Cucumber test from the command line is to use a
filter. The Cucumber Engine already supported cucumber.filter.tags but did
not yet support cucumber.filter.name.

This filter can be used in junit-platform.properties, the CLI (e.g.
mvn test -Dcucumber.filter.name="^Hello (World|Cucumber)$" and in any way
properties can be used with the JUnit Platform.

@mpkorstanje mpkorstanje force-pushed the add-name-filter-to-junit5 branch 2 times, most recently from ad58550 to 74f2c66 Compare July 23, 2020 17:11
@coveralls
Copy link

coveralls commented Jul 23, 2020

Coverage Status

Coverage decreased (-0.0005%) to 86.311% when pulling a453189 on add-name-filter-to-junit5 into 52277a9 on main.

@mpkorstanje mpkorstanje force-pushed the add-name-filter-to-junit5 branch 2 times, most recently from ad81681 to 1d73b7d Compare July 23, 2020 17:32
@mpkorstanje mpkorstanje marked this pull request as ready for review July 23, 2020 17:34
@mpkorstanje mpkorstanje force-pushed the add-name-filter-to-junit5 branch 4 times, most recently from 03e1d1d to 3071792 Compare July 23, 2020 17:42
A typical way to run a single Cucumber test from the command line is to use a
filter. The Cucumber Engine already supported `cucumber.filter.tags` but did
not yet support `cucumber.filter.name`.

This filter can be used in `junit-platform.properties`, the CLI (e.g.
`mvn test -Dcucumber.filter.name="^Hello (World|Cucumber)$"` and in any way
properties can be used with the JUnit Platform.
@mpkorstanje mpkorstanje merged commit 8a1d901 into main Jul 23, 2020
@mpkorstanje mpkorstanje deleted the add-name-filter-to-junit5 branch July 23, 2020 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants