canopy


Reporting

Console Reporter

The default reporter. Prints results to console. Console Reporter

Live HTML Reporter

Prints results to an html page. Support images. Screenshots on error.

1: 
2: 
3: 
open configuration
open reporters
reporter <- new LiveHtmlReporter() :> IReporter
Live HTML Reporter

TeamCity Reporter

Prints special outputs that are compatible with team city.

1: 
2: 
3: 
4: 
5: 
open configuration
open reporters
reporter <- new TeamCityReporter() :> IReporter

//screenshot is TODO

JUnit Reporter

Produces test results in basic JUnit format. Compatible with CircleCI.

1: 
2: 
3: 
open configuration
open reporters
reporter <- new JUnitReporter("./TestResults.xml") :> IReporter
namespace canopy
namespace canopy.runner
namespace System
module configuration

from canopy
module reporters

from canopy
val mutable reporter : types.IReporter

Full name: canopy.configuration.reporter
Multiple items

--------------------
new : browser:types.BrowserStartMode * driverPath:string -> LiveHtmlReporter
new : browser:types.BrowserStartMode * driverPath:string * ?driverHostName0:string * ?hideCommandPromptWindow0:bool * ?pinBrowserRight0:bool -> LiveHtmlReporter
Multiple items
type TeamCityReporter =
  interface IReporter
  new : ?logImagesToConsole:bool -> TeamCityReporter

Full name: canopy.reporters.TeamCityReporter

--------------------
new : ?logImagesToConsole:bool -> TeamCityReporter
Multiple items
type JUnitReporter =
  interface IReporter
  new : resultFilePath:string -> JUnitReporter

Full name: canopy.reporters.JUnitReporter

--------------------
new : resultFilePath:string -> JUnitReporter