Skip to content
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

Alternative When step decorator. #419

Closed
wants to merge 1 commit into from

Conversation

1Mark
Copy link

@1Mark 1Mark commented Apr 23, 2021

When asserting the return value of a function it must be passed from
the when clause, to the then clause.
The cleanest way is to use target_fixture.

@1Mark 1Mark force-pushed the alternative_when_decorator branch from 889ddbd to be7d97b Compare April 24, 2021 19:48
When asserting the return value of a function it must be passed from
the `when` clause, to the `then` clause.
The cleanest way is to use `target_fixture`.
@1Mark 1Mark force-pushed the alternative_when_decorator branch from be7d97b to cccb1e1 Compare April 24, 2021 20:09
@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #419 (cccb1e1) into master (cdb1bda) will decrease coverage by 0.05%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #419      +/-   ##
==========================================
- Coverage   95.33%   95.28%   -0.06%     
==========================================
  Files          50       50              
  Lines        1672     1674       +2     
  Branches      159      159              
==========================================
+ Hits         1594     1595       +1     
- Misses         44       45       +1     
  Partials       34       34              
Impacted Files Coverage Δ
pytest_bdd/steps.py 89.47% <50.00%> (-1.44%) ⬇️

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 cdb1bda...cccb1e1. Read the comment docs.

@youtux
Copy link
Contributor

youtux commented Jul 3, 2021

Superseded by #431

@youtux youtux closed this Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants