pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

Override language

Open napolas opened this issue 5 years ago • 1 comments
trafficstars

When we override the language by redefining the "types" constants, the terminal reporting as well as the cucumber.json output does not follow as expected. Although this is not an I18N proper solution, it allows one to override the types constants and even so the reporting tools work in consistent fashion.

napolas avatar Jan 10 '20 19:01 napolas

Codecov Report

Merging #345 into master will increase coverage by 0.85%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #345      +/-   ##
==========================================
+ Coverage   94.99%   95.84%   +0.85%     
==========================================
  Files          57       58       +1     
  Lines        2217     2240      +23     
  Branches      185      187       +2     
==========================================
+ Hits         2106     2147      +41     
+ Misses         73       62      -11     
+ Partials       38       31       -7
Impacted Files Coverage Δ
pytest_bdd/gherkin_terminal_reporter.py 85.88% <100%> (+0.69%) :arrow_up:
tests/feature/test_function.py 100% <100%> (ø)
pytest_bdd/feature.py 99.26% <100%> (+3.02%) :arrow_up:
pytest_bdd/cucumber_json.py 92.94% <100%> (+2.81%) :arrow_up:
pytest_bdd/parsers.py 87.75% <0%> (+4.08%) :arrow_up:
pytest_bdd/scripts.py 91.48% <0%> (+4.25%) :arrow_up:
tests/steps/test_unicode.py 100% <0%> (+6.45%) :arrow_up:
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f3b92bd...11d41ff. Read the comment docs.

codecov-io avatar Jan 15 '20 16:01 codecov-io