A little new to Javascript coding, so please bear with me.
I read through the following link jasmine with jscoverage automated testing
However, since I don't have a Ruby project, it didn't seem to be what I wanted.
Here are the steps I executed:
- Copy my js file to be tested to a directory 'input'
- Run the following command 'jscoverage input output'
- Copy my spec and src folders for Jasmine as well as SpecRunner.html into 'output'
- Copy the instrumented source file into src
- Open jscoverage.html in Chrome
- Open SpecRunner.html in the 'Browser' tab
At this point, the browser page displays my Jasmine tests. However, the 'Summary' page shows 0 files tested and the 'Source' tab is grayed out.
I know I messed up somewhere but am not sure where. Please help me out. Thanks!