Свойство | Type | Description | |
---|---|---|---|
AddSetting | void | ||
CountTests | void | ||
ExploreTests | void | ||
GetProcessorArchitecture | string | ||
Initialize | void | ||
LoadTests | void | ||
RunAsync | void | ||
RunAsync | void | ||
RunTests | void | ||
StopRun | void |
Méthode | Description | |
---|---|---|
CountTests ( string filter ) : int |
Counts the number of test cases in the loaded TestSuite
|
|
ExploreTests ( string filter ) : string |
Returns info about the tests in an assembly
|
|
FrameworkController ( |
Construct a FrameworkController using the default builder and runner.
|
|
FrameworkController ( |
Construct a FrameworkController, specifying the types to be used for the runner and builder. This constructor is provided for purposes of development.
|
|
FrameworkController ( string assemblyNameOrPath, string idPrefix, IDictionary settings ) : System |
Construct a FrameworkController using the default builder and runner.
|
|
FrameworkController ( string assemblyNameOrPath, string idPrefix, IDictionary settings, string runnerType, string builderType ) : System |
Construct a FrameworkController, specifying the types to be used for the runner and builder. This constructor is provided for purposes of development.
|
|
InsertEnvironmentElement ( TNode targetNode ) : TNode |
Inserts environment element
|
|
InsertSettingsElement ( TNode targetNode, object>.IDictionary |
Inserts settings element
|
|
LoadTests ( ) : string |
Loads the tests in the assembly
|
|
RunTests ( Action |
Runs the tests in an assembly synchronously reporting back the test results through the callback or through the return value
|
|
RunTests ( string filter ) : string |
Runs the tests in an assembly
|
|
StopRun ( bool force ) : void |
Stops the test run
|
Méthode | Description | |
---|---|---|
AddSetting ( TNode settingsNode, string name, object value ) : void | ||
CountTests ( ICallbackEventHandler handler, string filter ) : void | ||
ExploreTests ( ICallbackEventHandler handler, string filter ) : void | ||
GetProcessorArchitecture ( ) : string | ||
Initialize ( string assemblyPath, IDictionary settings ) : void | ||
LoadTests ( ICallbackEventHandler handler ) : void | ||
RunAsync ( Action |
Runs the tests in an assembly asynchronously reporting back the test results through the callback
|
|
RunAsync ( ICallbackEventHandler handler, string filter ) : void | ||
RunTests ( ICallbackEventHandler handler, string filter ) : void | ||
StopRun ( ICallbackEventHandler handler, bool force ) : void |
public CountTests ( string filter ) : int | ||
filter | string | A string containing the XML representation of the filter to use |
Résultat | int |
public ExploreTests ( string filter ) : string | ||
filter | string | A string containing the XML representation of the filter to use |
Résultat | string |
public FrameworkController ( |
||
assembly | The test assembly | |
idPrefix | string | A prefix used for all test ids created under this controller. |
settings | IDictionary | A Dictionary of settings to use in loading and running the tests |
Résultat | System |
public FrameworkController ( |
||
assembly | The test assembly | |
idPrefix | string | A prefix used for all test ids created under this controller. |
settings | IDictionary | A Dictionary of settings to use in loading and running the tests |
runnerType | string | The Type of the test runner |
builderType | string | The Type of the test builder |
Résultat | System |
public FrameworkController ( string assemblyNameOrPath, string idPrefix, IDictionary settings ) : System | ||
assemblyNameOrPath | string | The AssemblyName or path to the test assembly |
idPrefix | string | A prefix used for all test ids created under this controller. |
settings | IDictionary | A Dictionary of settings to use in loading and running the tests |
Résultat | System |
public FrameworkController ( string assemblyNameOrPath, string idPrefix, IDictionary settings, string runnerType, string builderType ) : System | ||
assemblyNameOrPath | string | The full AssemblyName or the path to the test assembly |
idPrefix | string | A prefix used for all test ids created under this controller. |
settings | IDictionary | A Dictionary of settings to use in loading and running the tests |
runnerType | string | The Type of the test runner |
builderType | string | The Type of the test builder |
Résultat | System |
public static InsertEnvironmentElement ( TNode targetNode ) : TNode | ||
targetNode | TNode | Target node |
Résultat | TNode |
public static InsertSettingsElement ( TNode targetNode, object>.IDictionary |
||
targetNode | TNode | Target node |
settings | object>.IDictionary | Settings dictionary |
Résultat | TNode |
public RunTests ( Action |
||
callback | Action |
The callback that receives the test results |
filter | string | A string containing the XML representation of the filter to use |
Résultat | string |
public RunTests ( string filter ) : string | ||
filter | string | A string containing the XML representation of the filter to use |
Résultat | string |
public StopRun ( bool force ) : void | ||
force | bool | True to force the stop, false for a cooperative stop |
Résultat | void |