C# Class Machine.Specifications.Controller.Controller

ファイルを表示 Open project: machine/machine.specifications

Public Methods

Method Description
Controller ( Action listenCallback ) : System
Controller ( Action listenCallback, string runOptions ) : System
DiscoverSpecs ( Assembly assembly ) : string
EndRun ( ) : void
RunAssemblies ( IEnumerable assemblies ) : void
RunMembers ( Assembly assembly, IEnumerable members ) : void
RunNamespaces ( Assembly assembly, IEnumerable targetNamespaces ) : void
RunSpecs ( Assembly assembly, IEnumerable specifications ) : void

Run specifics specs. This method is available to support IDE integration scenarios, where users can run a specific test only.

This method supports fields that actually come from Behaviors

RunTypes ( Assembly assembly, IEnumerable types ) : void
StartRun ( ) : void

Private Methods

Method Description
Controller ( Action listenCallback, RunOptions runOptions ) : System

Method Details

Controller() public method

public Controller ( Action listenCallback ) : System
listenCallback Action
return System

Controller() public method

public Controller ( Action listenCallback, string runOptions ) : System
listenCallback Action
runOptions string
return System

DiscoverSpecs() public method

public DiscoverSpecs ( Assembly assembly ) : string
assembly System.Reflection.Assembly
return string

EndRun() public method

public EndRun ( ) : void
return void

RunAssemblies() public method

public RunAssemblies ( IEnumerable assemblies ) : void
assemblies IEnumerable
return void

RunMembers() public method

public RunMembers ( Assembly assembly, IEnumerable members ) : void
assembly System.Reflection.Assembly
members IEnumerable
return void

RunNamespaces() public method

public RunNamespaces ( Assembly assembly, IEnumerable targetNamespaces ) : void
assembly System.Reflection.Assembly
targetNamespaces IEnumerable
return void

RunSpecs() public method

Run specifics specs. This method is available to support IDE integration scenarios, where users can run a specific test only.
This method supports fields that actually come from Behaviors
public RunSpecs ( Assembly assembly, IEnumerable specifications ) : void
assembly System.Reflection.Assembly
specifications IEnumerable A spec full name "namespace.type.field_name".
return void

RunTypes() public method

public RunTypes ( Assembly assembly, IEnumerable types ) : void
assembly System.Reflection.Assembly
types IEnumerable
return void

StartRun() public method

public StartRun ( ) : void
return void