Thanks mmanela.. I understand the limitation..
I notice that it does work as shown in your source code examples \Facts.Integration\JS\Code\RequireJS\all.tests.qunit.js.. so it appears, coverage does work for standard amd modules with qunit tests..
Is there an alternative technique for now? I can see that If I don't need to do dependency injection aka I don't need to 'createContext' (https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277/ChutzpahTest/tests/createContext.js?at=master) specially to pass stubs. The only thing I need to change is to use a way to mock dependencies on the module being tested..
Perhaps there is a better alternative? or I am doing it plain wrong? I am keen to hear recommendations..
Thanks once again..
rasane..
I notice that it does work as shown in your source code examples \Facts.Integration\JS\Code\RequireJS\all.tests.qunit.js.. so it appears, coverage does work for standard amd modules with qunit tests..
Is there an alternative technique for now? I can see that If I don't need to do dependency injection aka I don't need to 'createContext' (https://bitbucket.org/rasane/chutzpahamdcoveragetest/src/a1f986551277/ChutzpahTest/tests/createContext.js?at=master) specially to pass stubs. The only thing I need to change is to use a way to mock dependencies on the module being tested..
Perhaps there is a better alternative? or I am doing it plain wrong? I am keen to hear recommendations..
Thanks once again..
rasane..