Release v0.2.0 — beehave-native rebuild#24
Merged
Merged
Conversation
…ehave-native rebuild
… markers, and BDD steps display Rebuilt plugin on beehave>=0.4.0 with four core features: - Stub generation from Gherkin .feature files via beehave.gherkin.parse_feature + beehave.generate.generate_stubs - @pytest.mark.skip(reason='not implemented') auto-applied to generated stubs (removed on implementation) - Consistency checking via beehave.check.check_all with real test failures for ERROR violations (BeehaveViolationItem) - BDD steps display in terminal (-v) and HTML reports (pytest-html Scenario column) 37 e2e tests pass. All lint, format, and type checks clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete rebuild of pytest-beehave on top of
beehave>=0.4.0, replacing the previous custom Gherkin parser and stub generator with the beehave library's native APIs.Core features
parse_feature()+generate_stubs()create Hypothesis-compatible test stubs from.featurefiles@pytest.mark.skip(reason="not implemented")auto-applied to generated stubs; idempotent, placed before all decoratorscheck_all()detects 6 violation types; ERROR violations produce real test failures viaBeehaveViolationItem-v) and HTML report (pytest-htmlScenario column)Changes
plugin.py,steps_display.py,html_column.py,__init__.pydocs/spec/pytest-beehave-spec.mddocs/spec/beehave-bugs.md(4 beehave v0.4.0 bugs verified fixed)Testing
37 e2e tests pass covering stub generation (A1-A12), steps display (B9-B11), HTML column (C12-C13), consistency checking (D14-D20), and adversarial edge cases (19-30).
All lint (ruff), format, and type checks (pyright) pass clean.