Closed youtux closed 1 month ago
@jsa34 mind reviewing this?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.62%. Comparing base (
3402450
) to head (43d062b
). Report is 9 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
- Maybe a test to ensure # and trailing text don't get stripped?
It's already tested in test_scenario_comments
, but I will add testing for the step and and scenario names. Done in 48e51caf
- There is a strict gherkin flag and tests - can we get rid of these now as we are always strict gherkin?
I'll check that and open another PR.
- I haven't checked, but are there other places the old parser stripped comments in this way (such as example table entries)? If so, perhaps the change log should reflect that not just comments in steps will no longer be stripped.
It doesn't look like so. Anyway I updated the CHANGES.rst to mention that now also Scenario and Feature names won't be stripped for comments (43d062b3)
Otherwise we wouldn't be gherkin compliant