ReSharper 2024.1 Help

Code inspection: NUnit. Non-public test method.

Category

NUnit

ID

NUnit.NonPublicMethodWithTestAttribute

EditorConfig

resharper_n_unit_non_public_method_with_test_attribute_highlighting

Default severity

Warning

Language

C#

Requires SWA

No

NUnit test methods marked with [Test] or [TestCase] as well as classes marked with [TestFixture] and all their constructors must have public visibility.

Last modified: 11 February 2024