Skip to content

Add docs about reusing fixtures from other projects #7772

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

Merged
merged 3 commits into from
Sep 19, 2020

Conversation

nicoddemus
Copy link
Member

Fix #7754

@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Sep 19, 2020
Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one comment

@nicoddemus nicoddemus merged commit cdfdb3a into pytest-dev:master Sep 19, 2020
@nicoddemus nicoddemus deleted the use-fixtures-docs-7754 branch September 19, 2020 19:10
nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Sep 19, 2020
nicoddemus added a commit that referenced this pull request Sep 19, 2020
[6.0.x] Add docs about reusing fixtures from other projects (#7772)
@mgrazebrook
Copy link

I spent hours trying to work out the right way to use fixtures in a library, ended up with a wrong (but working) solution but at least knowing how I should have done it. Not only do you confirm what I learned, you also show me a better way. A real improvement, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation on plugins should explain why importing them is bad
3 participants