Class VersionAttribute
Test attribute to specify test version.
Namespace: Unity.PerformanceTesting
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class VersionAttribute : NUnitAttribute, IApplyToTest
Constructors
VersionAttribute(String)
Adds attribute to specify test version.
Declaration
public VersionAttribute(string version)
Parameters
Type | Name | Description |
---|---|---|
String | version | Version of the test. |
Properties
Version
Test version.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ApplyToTest(Test)
Used by NUnit to apply version to properties.
Declaration
public void ApplyToTest(Test test)
Parameters
Type | Name | Description |
---|---|---|
Test | test | An NUnit test to apply the version property to. |