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

Metadata based filtering for test #1364

Merged
merged 17 commits into from
Oct 21, 2024
Merged

Conversation

yogeshnikam671
Copy link
Member

What:
Add ability to filter tests based on the metadata of a certain test.
Add --filter and --filterNot argument in TestCommand to use these filters.
The filters follow a specific syntax which can be understood using specmatic test --help command.

Why:
The existing --filterName and --filterNotName were serving the purpose of filtering tests to an extent but potentially that algorithm is not scalable when it comes to evolving the filtering mechanism and making it more scalable.
Hence, this metadata based filtering is introduced. This is a first cut of it.

Checklist:

  • Documentation (Pending, will do it in parallel)
  • Tests
  • Sonar Quality Gate

@joelrosario joelrosario merged commit 9f529b3 into main Oct 21, 2024
2 checks passed
@joelrosario joelrosario deleted the metadata_based_filtering_for_test branch October 21, 2024 11:06
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