pytest-bdd
pytest-bdd copied to clipboard
Preparing the scenario for multiple example tables
Cucumber has added multiple example tables to the scenarios. These examples can also get tags. We need to support pytest marks for those examples. The parser is going to add multiple example tables to the TemplatedScenario. The tags can become part of the Examples object. Since each test item is produced by the parametrization represented by a single table row we have to pass the marks parameter to each of them.
Codecov Report
Merging #489 (d52dea9) into master (f4ed62d) will decrease coverage by
0.09%
. The diff coverage is88.23%
.
@@ Coverage Diff @@
## master #489 +/- ##
==========================================
- Coverage 95.91% 95.82% -0.10%
==========================================
Files 49 49
Lines 1640 1651 +11
Branches 179 181 +2
==========================================
+ Hits 1573 1582 +9
- Misses 41 42 +1
- Partials 26 27 +1
Impacted Files | Coverage Δ | |
---|---|---|
pytest_bdd/scenario.py | 90.90% <84.61%> (-0.76%) |
:arrow_down: |
pytest_bdd/parser.py | 99.54% <100.00%> (+<0.01%) |
:arrow_up: |
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 f4ed62d...d52dea9. Read the comment docs.
@elchupanebrej have a look. I started sketching out some preparations for the multiple scenario examples
Hi, what is the status of this ticket?
@olegpidsadnyi , https://github.com/pytest-dev/pytest-bdd/issues/378#issuecomment-2040791260