On 6/16/14 7:23 PM, Sylvestre Ledru wrote: > Hello, > > I am working on providing weekly code coverage of Firefox code. > For now, I am able to do that for C/C++ code. > > I would like to know if anyone tried to generate code coverage recently > on the Javascript code of Firefox (or Firefox OS)? > I saw some b2g reports [1] talking about Coverage but I am not sure that > they mean the same thing. > > I found this URL: > https://wiki.mozilla.org/QA:CodeCoverage#Jscoverage > but jscoverage looks like a dead project. > > And I am starting to play with: > https://github.com/tntim96/JSCover > > Thanks > Sylvestre > [1] https://groups.google.com/forum/#!topic/mozilla.dev.b2g/R4eKU8I3cxI >
Hi Sylvestre, The old jscoverage still works with some minor modifications to jsm that is injected. I don't recall off the top of my head, but it was but a few lines of change so it should be easy to figure out. Obviously, something that is actively maintained would be better. Bonus points for getting it integrated with the build system for Desktop Firefox, so I can make use of it for a comm-central project :-) Philipp _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform