Air+Dojo+YUI ?
Posted: 2010-08-12 1:14 pm
We have an application that is built on Adobe Air and DOJO.
I used DOH to write my unit tests.
I instrumented our code using JSCoverage and after running my DOH test I could see the coverage for our code.
That was great...
Lately we did some refactoring and also started using a few YUI component.
I follow the same steps as I did before. (Listing them below)
1. jscoverage src_dir Instr_dir (I instrument all our internal JS files).
2. In my TestRunner.html I made sure I reference the correct directory where to ref the js files (Instr_dir)
3. In my TestRunner.html I have a button to open the coverage results - window.open('../js/Instr_dir/jscoverage.html')
But now when jscoverage.html launches it is empty and I do not see any src files listed there nor do I see any coverage
Any thought on what could have happened and how I could fix this problem
thanks
I used DOH to write my unit tests.
I instrumented our code using JSCoverage and after running my DOH test I could see the coverage for our code.
That was great...
Lately we did some refactoring and also started using a few YUI component.
I follow the same steps as I did before. (Listing them below)
1. jscoverage src_dir Instr_dir (I instrument all our internal JS files).
2. In my TestRunner.html I made sure I reference the correct directory where to ref the js files (Instr_dir)
3. In my TestRunner.html I have a button to open the coverage results - window.open('../js/Instr_dir/jscoverage.html')
But now when jscoverage.html launches it is empty and I do not see any src files listed there nor do I see any coverage
Any thought on what could have happened and how I could fix this problem
thanks