Skip to content

Add skip support for test scenarios#65

Merged
richardkiene merged 2 commits into
mainfrom
feat/scenario-skip
Jan 27, 2026
Merged

Add skip support for test scenarios#65
richardkiene merged 2 commits into
mainfrom
feat/scenario-skip

Conversation

@richardkiene
Copy link
Copy Markdown
Contributor

Summary

  • Add skip field to scenario YAML format (skip: true or skip: "reason")
  • Skipped scenarios show as SKIPPED in pytest output instead of executing
  • Updated scenario format documentation

Closes #64

Usage

name: My Future Feature Test
skip: "Waiting on analytics API"
# ...

Test plan

  • Unit tests for skip field parsing (6 new tests)
  • All 266 tests pass
  • Linting and type checking pass
  • Documentation updated

Add `skip` field to TestScenario model that accepts `true` or a reason
string. When set, pytest.skip() is called at the start of runtest(),
showing the scenario as SKIPPED in pytest output.

Closes #64
@richardkiene richardkiene merged commit 8d29d14 into main Jan 27, 2026
@richardkiene richardkiene deleted the feat/scenario-skip branch January 27, 2026 16: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.

Support skipping scenarios via YAML configuration

1 participant