Class WPFTestMethodAttribute
A test method attribute that runs the test in a STA thread with a running Dispatcher and a DispatcherSynchronizationContext.
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 WPFTestMethodAttribute : TestMethodAttribute
Properties
View SourceSkinAssembly
Gets or sets the name of the skin assembly.
Declaration
public string SkinAssembly { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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. |