Class STATestMethodAttribute
A test method attribute that runs the test in a STA thread.
TestMethodAttribute.ExecuteAsync(ITestMethod)
TestMethodAttribute.DisplayName
TestMethodAttribute.UnfoldingStrategy
TestMethodAttribute.DeclaringFilePath
TestMethodAttribute.DeclaringLineNumber
Namespace: Sartorius.SAF.QualityTools
Assembly: Sartorius.SAF.QualityTools.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class STATestMethodAttribute : TestMethodAttribute
Methods
View SourceExecute(ITestMethod)
Executes a test method.
Declaration
public TestResult[] Execute(ITestMethod testMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| ITestMethod | testMethod | The test method to execute. |
Returns
| Type | Description |
|---|---|
| TestResult[] | An array of TestResult objects that represent the outcome(s) of the test. |