-
Notifications
You must be signed in to change notification settings - Fork 221
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
Preparing the scenario for multiple example tables #489
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
@elchupanebrej have a look. I started sketching out some preparations for the multiple scenario examples |
Hi, what is the status of this ticket? |
Hi @youtux, is there any chance that something similar will be delivered within 8.0.0 release? |
@jsa34 do we support this out of the box now that we are using the official parser? |
Ooh good question... I'll take a look |
@jsa34 according to my observations gherkin parser provides tags but they are not taking into consideration on pytest-bdd side when execution "from_dict" methods |
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.