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

Filter examples based on TestSelector #1217

Merged

Conversation

Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Jan 22, 2024

Previously, the Specs2 runner would ignore the selectors that are passed via a TaskDef.

With this patch, when a TaskDef's selectors contains only TestSelectors, then only the examples whose name match the input selectors will be executed.

Backport of #1216

Previously, the Specs2 runner would ignore the selectors that are passed
via a `TaskDef`.

With this patch, when a `TaskDef`'s selectors contains only
`TestSelector`s, then only the examples whose name match the input
selectors will be executed.
@etorreborre etorreborre merged commit 07e0f2e into etorreborre:specs2-4.x-maintenance Jan 22, 2024
4 checks passed
@Duhemm Duhemm deleted the backport-test-selector branch January 22, 2024 14:09
etorreborre pushed a commit that referenced this pull request Jan 23, 2024
Previously, the Specs2 runner would ignore the selectors that are passed
via a `TaskDef`.

With this patch, when a `TaskDef`'s selectors contains only
`TestSelector`s, then only the examples whose name match the input
selectors will be executed.
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