Skip to content

Add docs about reusing fixtures from other projects#7772

Merged
nicoddemus merged 3 commits into
pytest-dev:masterfrom
nicoddemus:use-fixtures-docs-7754
Sep 19, 2020
Merged

Add docs about reusing fixtures from other projects#7772
nicoddemus merged 3 commits into
pytest-dev:masterfrom
nicoddemus:use-fixtures-docs-7754

Conversation

@nicoddemus

Copy link
Copy Markdown
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

@bluetech bluetech left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with one comment

Comment thread doc/en/fixture.rst Outdated
Comment thread doc/en/fixture.rst Outdated
nicoddemus and others added 2 commits September 19, 2020 16:03
Co-authored-by: Ran Benita <ran@unusedvar.com>
@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
Co-authored-by: Ran Benita <ran@unusedvar.com>
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
Copy Markdown

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