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

Use modern approach to specify hook options #549

Closed nicoddemus closed 2 years ago

nicoddemus commented 2 years ago

The old way using marks is being deprecated in pytest 7.2:

https://github.com/pytest-dev/pytest/pull/9118

codecov[bot] commented 2 years ago

Codecov Report

Merging #549 (689b6a9) into master (15e6e69) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #549   +/-   ##
=======================================
  Coverage   95.17%   95.17%           
=======================================
  Files          48       48           
  Lines        1680     1680           
  Branches      206      206           
=======================================
  Hits         1599     1599           
  Misses         51       51           
  Partials       30       30           
Impacted Files Coverage Δ
pytest_bdd/plugin.py 98.11% <100.00%> (ø)

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 15e6e69...689b6a9. Read the comment docs.