Closed montoyo4me closed 9 years ago
I don't know to much about FitNesse. I'll take a look but it might be worth posting a question on that project.
With command line I can execute these FitNesse test cases.
Hi tntim96,
Have you got a chance to work on this?
I haven't had time to check out FitNesse in detail, but I think the key is to instrument the JS before running the tests, use JSCover's HTML5 localStorage to save coverage between page loads, and put a hook in at the end of your test to save the coverage data.
Take a look at the localStorage-file-system example.
If the web could not work well locally to be instrumented before running the test, what's the alternative choice?
I'm not sure what you mean. If you are limited to testing on a server, instrumenting the JS before-hand is generally the best choice.
Hi Tim,
Below is my scenario,
I am looking for is a step by step instruction to generate JS code coverage. Any help will be deeply appreciated. I went through http://tntim96.github.io/JSCover/ for this but couldn't make out perfect solution or rather I confused.
Thanks