Skip to content

Conversation

@ParetoLife
Copy link
Contributor

From the description it seemed to me as if just prefixing your methods with test_ was enough, but you also need to prefix your class with Test. Of course, in the reference material this is clearly stated, but I think it makes sense to mention it here as well, since you also mention the part about the methods' prefix.

From the description it seemed to me as if just prefixing your methods with ``test_`` was enough, but you also need to prefix your class with ``Test``. Of course, in the reference material this is clearly stated, but I think it makes sense to mention it here as well, since you also mention the part about the methods' prefix.
@blueyed blueyed changed the title Update getting-started.rst doc: getting-started.rst: mention "Test" prefix for classes Jan 27, 2020
@nicoddemus nicoddemus merged commit 8c41236 into pytest-dev:master Jan 29, 2020
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.

3 participants