C# Класс NFluent.Tests.ForDocumentation.RunnerHelper

Hosts several methods helping to execute unit tests in a controlled fashion.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Log ( string message ) : void
RunAction ( System.Action action ) : void
RunAllTests ( bool log ) : void

Runs all tests found in current assembly.

RunThoseTests ( IEnumerable tests, Type type, FullRunDescription report, bool log ) : void

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

Метод Описание
GetCheckAndType ( FluentCheckException fluExc ) : CheckDescription
RunAllMethodsWithASpecificAttribute ( Type type, Type attributeTypeToScan, object test ) : void
RunMethod ( MethodBase specificTest, object test, FullRunDescription report, bool log ) : void

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

Log() публичный статический Метод

public static Log ( string message ) : void
message string
Результат void

RunAction() публичный статический Метод

public static RunAction ( System.Action action ) : void
action System.Action
Результат void

RunAllTests() публичный статический Метод

Runs all tests found in current assembly.
public static RunAllTests ( bool log ) : void
log bool if set to true log the activity (to Debug output).
Результат void

RunThoseTests() публичный статический Метод

public static RunThoseTests ( IEnumerable tests, Type type, FullRunDescription report, bool log ) : void
tests IEnumerable
type System.Type
report FullRunDescription
log bool
Результат void