C# Класс Microsoft.Protocols.TestManager.Kernel.TestEngine

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AbortExecution ( ) : void

Aborts the test execution.

BeginRunByCase ( Stack caseStack ) : void

Begins to run the specified test cases in the test suite.

BeginRunByFilter ( string filterExpression ) : void

Begins to run the test suite using the specified filter expression.

FilterByKeyword ( string keyword ) : void

Filters test cases by keyword in name.

GetLogger ( ) : Logger

Retrieves the Logger object.

InitializeLogger ( List testcases ) : void
RemoveFilter ( ) : void

Removes the filter.

RunByCase ( Stack caseStack ) : void

Runs the specified test cases in the test suite.

RunByFilter ( string filterExpr ) : void

Runs the test suite using the given filter expression.

TestEngine ( string enginePath ) : System

Приватные методы

Метод Описание
ConstructVstestArgs ( Stack caseStack = null ) : StringBuilder

Build vstest arguments. If caseStack is null, build common arguments only.

ExecutionFinished ( Exception e ) : void
ParseLogMessage ( string message ) : void
Run ( string runArgs ) : Exception

Описание методов

AbortExecution() публичный Метод

Aborts the test execution.
public AbortExecution ( ) : void
Результат void

BeginRunByCase() публичный Метод

Begins to run the specified test cases in the test suite.
public BeginRunByCase ( Stack caseStack ) : void
caseStack Stack Test Cases
Результат void

BeginRunByFilter() публичный Метод

Begins to run the test suite using the specified filter expression.
public BeginRunByFilter ( string filterExpression ) : void
filterExpression string
Результат void

FilterByKeyword() публичный Метод

Filters test cases by keyword in name.
public FilterByKeyword ( string keyword ) : void
keyword string Keyword
Результат void

GetLogger() публичный Метод

Retrieves the Logger object.
public GetLogger ( ) : Logger
Результат Logger

InitializeLogger() публичный Метод

public InitializeLogger ( List testcases ) : void
testcases List
Результат void

RemoveFilter() публичный Метод

Removes the filter.
public RemoveFilter ( ) : void
Результат void

RunByCase() публичный Метод

Runs the specified test cases in the test suite.
public RunByCase ( Stack caseStack ) : void
caseStack Stack Test Cases
Результат void

RunByFilter() публичный Метод

Runs the test suite using the given filter expression.
public RunByFilter ( string filterExpr ) : void
filterExpr string
Результат void

TestEngine() публичный Метод

public TestEngine ( string enginePath ) : System
enginePath string
Результат System