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

Add autouse fixture order information (#3404). #5600

Merged
merged 1 commit into from
Jul 13, 2019

Conversation

wojtekerbetowski
Copy link
Contributor

A case with a fixture use both as an autouse and explititly
was raised. This case sounds too narrow to add to documentation
(and could be misleading for people learning pytest with explicitely
using an autouse fixture). At the same time there was no documentation
on the autouse vs regular fixture order, therefore this commit adds
such an information. Code sample grew and it was extracted to the file.

A case with a fixture use both as an autouse and explititly
was raised. This case sounds too narrow to add to documentation
(and could be misleading for people learning pytest with explicitely
using an autouse fixture). At the same time there was no documentation
on the autouse vs regular fixture order, therefore this commit adds
such an information. Code sample grew and it was extracted to the file.
@codecov
Copy link

codecov bot commented Jul 13, 2019

Codecov Report

Merging #5600 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5600   +/-   ##
=======================================
  Coverage   96.11%   96.11%           
=======================================
  Files         117      117           
  Lines       25775    25775           
  Branches     2495     2495           
=======================================
  Hits        24773    24773           
  Misses        697      697           
  Partials      305      305

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 8052c7c...d23fbab. Read the comment docs.

@The-Compiler The-Compiler merged commit 6afbac2 into pytest-dev:master Jul 13, 2019
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