C# Class NFluent.Tests.ForDocumentation.RunnerHelper

Hosts several methods helping to execute unit tests in a controlled fashion.
Afficher le fichier Open project: tpierrain/NFluent Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetCheckAndType ( FluentCheckException fluExc ) : CheckDescription
RunAllMethodsWithASpecificAttribute ( Type type, Type attributeTypeToScan, object test ) : void
RunMethod ( MethodBase specificTest, object test, FullRunDescription report, bool log ) : void

Method Details

Log() public static méthode

public static Log ( string message ) : void
message string
Résultat void

RunAction() public static méthode

public static RunAction ( System.Action action ) : void
action System.Action
Résultat void

RunAllTests() public static méthode

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).
Résultat void

RunThoseTests() public static méthode

public static RunThoseTests ( IEnumerable tests, Type type, FullRunDescription report, bool log ) : void
tests IEnumerable
type System.Type
report FullRunDescription
log bool
Résultat void