C# Class Witness.MSBuild.RunWitness

Starts Witness and the website under test in IIS Express. Runs PhantomJS to execute the specification runner. All output from these processes is piped to the task's log output.
Inheritance: Microsoft.Build.Utilities.Task
Datei anzeigen Open project: andrewdavey/witness

Private Properties

Property Type Description
EnsureAbsolutePath void
EnsurePhantomJS void
ExpandPropertyValues void
GetPhantomJSArguments string
PipeProcessToLog void
StartPhantomJS System.Diagnostics.Process
StartProcessThatPipesToLog System.Diagnostics.Process

Public Methods

Method Description
Execute ( ) : bool
RunWitness ( ) : System

Private Methods

Method Description
EnsureAbsolutePath ( Expression property, bool optional = false ) : void
EnsurePhantomJS ( ) : void
ExpandPropertyValues ( ) : void
GetPhantomJSArguments ( string specsPath, int witnessPort, int websitePort ) : string
PipeProcessToLog ( Process process ) : void
StartPhantomJS ( ) : Process
StartProcessThatPipesToLog ( string exeFilename, string arguments ) : Process

Method Details

Execute() public method

public Execute ( ) : bool
return bool

RunWitness() public method

public RunWitness ( ) : System
return System