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

Peo 7674 add datatables

Open pfoster-youitv opened this issue 2 years ago • 2 comments
trafficstars

  • updated pydocs description for Step and Step.add_line
  • added datatable property
  • init'ed datatable property
  • modified add_line to check the line, if it starts and ends with a pipe | then we split the internals on the | and append that to the datatable property

Needs to be tested and confirmed to work.

pfoster-youitv avatar Jan 17 '23 20:01 pfoster-youitv

Codecov Report

Base: 95.43% // Head: 95.44% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (eda82ce) compared to base (0ec8b7e). Patch coverage: 96.38% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #596      +/-   ##
==========================================
+ Coverage   95.43%   95.44%   +0.01%     
==========================================
  Files          49       49              
  Lines        1751     1821      +70     
  Branches      189      163      -26     
==========================================
+ Hits         1671     1738      +67     
- Misses         53       55       +2     
- Partials       27       28       +1     
Impacted Files Coverage Δ
src/pytest_bdd/parser.py 97.78% <90.32%> (-1.25%) :arrow_down:
src/pytest_bdd/scenario.py 93.08% <100.00%> (+0.07%) :arrow_up:
tests/feature/test_tags.py 100.00% <100.00%> (ø)
tests/feature/test_gherkin_terminal_reporter.py 100.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Jan 17 '23 20:01 codecov[bot]

@pfoster-youitv https://github.com/pytest-dev/pytest-bdd/issues/378#issuecomment-2040791260

blaisep avatar Apr 05 '24 23:04 blaisep