Class VersionAttribute
Test attribute to specify test version.
Implements
IApplyToTest
Inherited Members
Namespace: Unity.PerformanceTesting
Assembly: Unity.PerformanceTesting.dll
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. |
Implements
NUnit.Framework.Interfaces.IApplyToTest