-
Notifications
You must be signed in to change notification settings - Fork 154
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
Setupfixture fixes #917
Setupfixture fixes #917
Conversation
Co-authored-by: Sean Killeen <SeanKilleen@gmail.com>
Co-authored-by: Sean Killeen <SeanKilleen@gmail.com>
Co-authored-by: Sean Killeen <SeanKilleen@gmail.com>
Thanks @SeanKilleen for the commit suggestions! Always appreciated! |
@OsirisTerje thanks for doing the hard part! |
* setupfixture fixes * setupfixture fixes * Update docs/articles/nunit/writing-tests/attributes/setupfixture.md Co-authored-by: Sean Killeen <SeanKilleen@gmail.com> * Update docs/articles/nunit/writing-tests/attributes/setupfixture.md Co-authored-by: Sean Killeen <SeanKilleen@gmail.com> * Update docs/articles/nunit/writing-tests/attributes/setupfixture.md Co-authored-by: Sean Killeen <SeanKilleen@gmail.com> * setupfixture fixes --------- Co-authored-by: Sean Killeen <SeanKilleen@gmail.com> e1be1c7
> [!NOTE] | ||
> Filtering on `SetUpFixture`s | ||
|
||
A `SetUpFixture` is normally not used for filtering tests. However, if that is done, one should be aware that a | ||
`SetUpFixture` encapsulates all tests to which it belongs. | ||
If placed in a namespace it will encapsulate all tests in that namespace and contained namespaces. | ||
If placed on the assembly level, it will encapsulate all tests in the assembly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this your intention to place those explanations about filtering outside the note block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, want to fix it ?
Clarifying setupfixture documentation based on questions in issue nunit/nunit#4268
Also fixes Issue #819