Hi,
I have trouble getting Chutzpah report code coverage for 'require.js' AMD modules..
To demonstrate the problem here is a simple test project: https://bitbucket.org/rasane/chutzpahamdcoveragetest/ and help..
I can: run the command, from the tests folder:
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.html /coverage
and get success/failure of tests.. but i cannot get coverage reports..
IF I try using the js file to get coverage, it reports an error..
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.js /coverage
reported error:
JS Error: Timeout occured when executing test file
But If I try a non AMD Module in the solution, it works
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe nonAMDSample.js /coverage
Tests complete: 1
Code Coverage Results Average Coverage: 100%
Any ideas?
Thanks for your time...
rasane
I have trouble getting Chutzpah report code coverage for 'require.js' AMD modules..
To demonstrate the problem here is a simple test project: https://bitbucket.org/rasane/chutzpahamdcoveragetest/ and help..
I can: run the command, from the tests folder:
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.html /coverage
and get success/failure of tests.. but i cannot get coverage reports..
IF I try using the js file to get coverage, it reports an error..
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe AMDTests.js /coverage
reported error:
JS Error: Timeout occured when executing test file
But If I try a non AMD Module in the solution, it works
....\packages\Chutzpah.2.4.1\tools\chutzpah.console.exe nonAMDSample.js /coverage
Tests complete: 1
Code Coverage Results Average Coverage: 100%
100% for C:\Temp\deleteme\vs2012\testRest\Chutz
I would like the html to report a similar report or the js file with AMD module in it, to report coverage..Any ideas?
Thanks for your time...
rasane