Method RetrieveTestTree
RetrieveTestTree(ExecutionSettings, Action<ITestAdaptor>)
Retrieve a list of tests in a tree structure matching a given execution settings.
Declaration
public static void RetrieveTestTree(ExecutionSettings executionSettings, Action<ITestAdaptor> callback)
Parameters
Type | Name | Description |
---|---|---|
ExecutionSettings | executionSettings | An execution setting to match. The filters in the settings will be checked against the test tree. |
Action<ITestAdaptor> | callback | A callback to invoke with the result of the test retrieving. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | An exception is thrown if the executionSettings or the callback arguments are null. |