pytest-dev / pytest-bdd

BDD library for the pytest runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.32k stars 221 forks source link

Add scenario description to JSON and add test for JSON correctly populating the description from a feature #749

Open jsa34 opened 21 hours ago

jsa34 commented 21 hours ago

Adds scenario description to json output.

The test for the json output didn't check the feature description field was populated. I have added a value here so we can be sure this is being set.

Resolves #351

codecov[bot] commented 20 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.07%. Comparing base (d527a67) to head (e6e8d73).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #749 +/- ## ======================================= Coverage 96.07% 96.07% ======================================= Files 55 55 Lines 2244 2244 Branches 246 246 ======================================= Hits 2156 2156 Misses 53 53 Partials 35 35 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.