Class
RunHelper

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:

cs-api-definition
public static class RunHelper

Inheritance: objectRunHelper

Methods

Test(string, Settings, string)

Execute a .aii test file

Declaration

cs-api-definition
public static ResultSummary Test(string fullTestPath, Settings settingsToUse, string fullPathToBinary)

Parameters

fullTestPath

string

The full path to the .aii file

settingsToUse

Settings

The settings to use for this test.

fullPathToBinary

string

The full path to the test binaries that contain the code behind for the test.

Returns

ResultSummary

The results of execution

Test(string, string)

Execute a .aii test file

Declaration

cs-api-definition
public static ResultSummary Test(string fullTestPath, string fullPathToBinary)

Parameters

fullTestPath

string

The full path to the .aii file

fullPathToBinary

string

The full path to the test binaries that contain the code behind for the test.

Returns

ResultSummary

The results of execution

TestUsingMsTest(string)

Execute a specific .aii test.

Declaration

cs-api-definition
public static ResultSummary TestUsingMsTest(string fullTestPath)

Parameters

fullTestPath

string

The full path to the .aii test file. (i.e. c:\myprojects\testing\project1\webaiitest1.aii)

Returns

ResultSummary

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.