chutzpah - PhantomJS being invoked while discovering unit tests. Why? -
chutzpah - PhantomJS being invoked while discovering unit tests. Why? -
running chutzpah 3.2.2.0 command line tests discovered , executed in 40 seconds, think speed more 100 unit tests split several files:
chutzpah.console.exe path\to\myprojectrootfolder\chutzpah.json
however, in visual studio, takes 9-10 minutes list of tests loaded in test explorer.
monitoring vs process explorer, noticed process "vstest.discoveryengine.x86.exe" calling phantomjs.exe several times during discovering process.
my understanding chutzpah require phantomjs execute tests in browser context, , tests execution. maybe misunderstanding process here.
my chutzpah.json file:
{ "framework":"qunit", "typescriptcodegentarget":"es5", "testfiletimeout":"60000", "compile": { "extensions": [ ".ts" ], "extensionswithnooutput": [ ".d.ts" ], "mode": "external" }, "codecoverageexcludes": [ "*ests.ts", "*ests.js" ], "tests": [ { "path": "testssubfolder", "include": "*.ts" } ] }
is there settings tell chutzpah: "hey buddy, need list of tests loaded in vs test explorer, no need compile or run them now."?
chutzpah uses phantomjs both test execution , test discovery. in order chutzpah know tests exist must run them in discovery mode (where run file tells test framework not execute bodies).
that said, should not take long in vs. should fast when run them. can please file bug on chutzpah.codeplex.com repro , take look.
chutzpah
Comments
Post a Comment