Skip to content

Conversation

@tyranron
Copy link
Member

@tyranron tyranron commented Apr 30, 2025

Resolves #369
Revealed from #369 (comment)

Synopsis

See #369 (comment):

Additionally, extend the filter_run and filter_run_and_exit methods to be able to no only filter by scenario name but also by example.

If I understand correctly, you also want the scenario.examples.table being cut down to the exactly one being executed right now. We currently don't do anything about them. Seems legit to shrink them.

Solution

Shrink Examples to the current one in the expanded Scenario Outline, so it could be obvious which example is running at the moment in filter_run() and filter_run_and_exit() methods.

Checklist

  • Existing tests are updated
  • New tests for filtering are added
  • Documentation is updated
  • Changelog is updated

@tyranron tyranron added enhancement Improvement of existing features or bugfix k::design Related to overall design and/or architecture labels Apr 30, 2025
@tyranron tyranron added this to the 0.22.0 milestone Apr 30, 2025
@tyranron tyranron self-assigned this Apr 30, 2025
@tyranron tyranron marked this pull request as ready for review April 30, 2025 14:10
@tyranron tyranron merged commit 9651ba3 into main Apr 30, 2025
83 of 84 checks passed
@tyranron tyranron deleted the 369-cut-down-examples branch April 30, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of existing features or bugfix k::design Related to overall design and/or architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter and execute specific examples

2 participants