NUnit.Framework.TestAttribute

E697441

NUnit.Framework.TestAttribute is a NUnit testing framework attribute used to mark methods as executable unit tests in C# test suites.

All labels observed (2)

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf Attribute
NUnit attribute
test method attribute
appliesTo method
availableIn NUnit 3.x
linked to: NUnit
belongsToCategory attributes for test identification
canBeCombinedWith NUnit.Framework.CategoryAttribute
NUnit.Framework.DescriptionAttribute
NUnit.Framework.IgnoreAttribute
NUnit.Framework.RetryAttribute
NUnit.Framework.TestCaseAttribute
NUnit.Framework.TestCaseSourceAttribute
NUnit.Framework.TimeoutAttribute
category unit testing
definedInNamespace NUnit.Framework
linked to: NUnit
executionModel invoked by NUnit test runner via reflection
hasScope instance methods
static methods
hasTargetFramework .NET 5+
.NET Core
.NET Framework
hasUsageExample [Test] public void MyTest() { /* assertions */ }
hasVisibilityRequirement method must be discoverable via reflection
introducedFor NUnit 2.x
linked to: NUnit
isAlternativeTo NUnit.Framework.TestCaseAttribute for simple non-parameterized tests
isCoreConceptOf NUnit test model
isDocumentedIn NUnit official documentation
isInheritedFrom System.Attribute
isOpenSourceComponentOf NUnit open source project
isRecognizedBy NUnit test discovery mechanism
isUsedBy NUnit GUI runner
linked to: NUnit

NUnit console runner
linked to: NUnit

NUnit test runner
NUnit3TestAdapter
lifecycle executed each time the test is run
partOfFramework NUnit
purpose indicate that a method is an executable unit test
mark methods as test methods
requires containing assembly referenced by test runner
method with no generic type parameters (for standard discovery)
non-abstract method
public method for standard discovery
supports assertion-based verification inside method body
usedIn NUnit test fixtures
usedInLanguage .NET languages
C#
usedWith NUnit.Framework.TestFixtureAttribute

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

C# attributes exampleAttribute NUnit.Framework.TestAttribute
NUnit.Framework.TestAttribute canBeCombinedWith NUnit.Framework.TestCaseAttribute
linked to: NUnit.Framework.TestAttribute