F# canopy - how to use LiveHtmlReporter? -


i trying f# , canopy log tests in html files.

so here says need is:

open configuration open reporters reporter <- new livehtmlreporter() :> ireporter 

this didn't work me. managed start livehtmlreporter using chrome start it. struggling make save reports after tests finished.

when try use:

reporter <- new livehtmlreporter(chrome, "c:\\") :> ireporter let livehtmlreporter = reporter :?> livehtmlreporter livehtmlreporter.savereporthtml @"c:\" "report" 

it throws invalidoperationexception unhandled error @ me before tests , doesn't save anything. besides that, when tests run - can see context titles, , test names not printed - pass or fail without test name.

another thing taking screenshot on error - doesn't happen.

i think doing wrong @ bottom of code. going wrong?

i had same problem. should help.

reporter <- new livehtmlreporter(chrome, configuration.chromedir) :> ireporter let livehtmlreporter = reporter :?> livehtmlreporter livehtmlreporter.reportpath <- "reports/automationresults" 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -