Skip to content

Add scenarios_class: return a test class instead of injecting into the caller module (#545) - #814

Draft
golikovichev wants to merge 5 commits into
pytest-dev:masterfrom
golikovichev:feature/545-scenarios-class
Draft

Add scenarios_class: return a test class instead of injecting into the caller module (#545)#814
golikovichev wants to merge 5 commits into
pytest-dev:masterfrom
golikovichev:feature/545-scenarios-class

[pre-commit.ci] auto fixes from pre-commit.com hooks

3d0648d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 9, 2026 in 0s

96.22% (+0.12%) compared to 9454b38

View this Pull Request on Codecov

96.22% (+0.12%) compared to 9454b38

Details

Codecov Report

❌ Patch coverage is 98.61111% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.22%. Comparing base (9454b38) to head (3d0648d).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
src/pytest_bdd/scenario.py 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #814      +/-   ##
==========================================
+ Coverage   96.10%   96.22%   +0.12%     
==========================================
  Files          55       56       +1     
  Lines        2390     2493     +103     
  Branches      136      144       +8     
==========================================
+ Hits         2297     2399     +102     
- Misses         56       57       +1     
  Partials       37       37              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.