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

Heuristic parser #78

Merged
merged 2 commits into from
Oct 17, 2022
Merged

Heuristic parser #78

merged 2 commits into from
Oct 17, 2022

Conversation

elchupanebrej
Copy link
Owner

@elchupanebrej elchupanebrej commented Oct 17, 2022

Address pytest-dev#467. Heuristic parser could recognize most often used patterns for step definition and build correct parser

@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Merging #78 (2ed38f1) into default (65b0ade) will decrease coverage by 0.41%.
The diff coverage is 71.69%.

@@             Coverage Diff             @@
##           default      #78      +/-   ##
===========================================
- Coverage    96.63%   96.22%   -0.42%     
===========================================
  Files           75       75              
  Lines         4162     4207      +45     
  Branches       430      435       +5     
===========================================
+ Hits          4022     4048      +26     
- Misses          89      101      +12     
- Partials        51       58       +7     
Impacted Files Coverage Δ
tests/args/regex/test_args.py 100.00% <ø> (ø)
tests/feature/test_background.py 100.00% <ø> (ø)
pytest_bdd/parser.py 97.80% <66.66%> (-0.43%) ⬇️
pytest_bdd/parsers.py 91.11% <70.45%> (-3.26%) ⬇️
tests/feature/test_outline.py 100.00% <100.00%> (ø)
tests/utils.py 70.00% <0.00%> (-30.00%) ⬇️
tests/conftest.py 77.77% <0.00%> (-22.23%) ⬇️
pytest_bdd/typing/pytest.py 92.59% <0.00%> (-7.41%) ⬇️
pytest_bdd/plugin.py 95.91% <0.00%> (-2.05%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

* Also fix re parser from match to fullmatch
@elchupanebrej elchupanebrej merged commit 04d4d85 into default Oct 17, 2022
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.

1 participant