ClassRunHelper
Wraps .aii test execution so it can be called from third party apps.
Definition
Namespace:ArtOfTest.WebAii.Design.Execution
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public static class RunHelper
Inheritance: objectRunHelper
Methods
Test(string, Settings, string)
Execute a .aii test file
Declaration
public static ResultSummary Test(string fullTestPath, Settings settingsToUse, string fullPathToBinary)
Parameters
fullTestPath
The full path to the .aii file
settingsToUse
The settings to use for this test.
fullPathToBinary
The full path to the test binaries that contain the code behind for the test.
Returns
The results of execution
Test(string, string)
Execute a .aii test file
Declaration
public static ResultSummary Test(string fullTestPath, string fullPathToBinary)
Parameters
fullTestPath
The full path to the .aii file
fullPathToBinary
The full path to the test binaries that contain the code behind for the test.
Returns
The results of execution
TestUsingMsTest(string)
Execute a specific .aii test.
Declaration
public static ResultSummary TestUsingMsTest(string fullTestPath)
Parameters
fullTestPath
The full path to the .aii test file. (i.e. c:\myprojects\testing\project1\webaiitest1.aii)
Returns
A ResultSummary object that contains the execution result of this test. If ResultSummary.InError is true, the there was an unexpected failure during execution. RawOutput should contain failure information.