Search code examples
javascriptcode-coverageistanbulnightwatch.js

Code coverage for nightwatch.js using Istanbul


Has anyone got code coverage to work for nightwatch.js with Istanbul. Any helpful links to the configuration will be appreciated.


Solution

  • nightwatch.js is a wrapper on Selenium. I believe what you attempting is not going to work with nightwatch.

    See also Selenium: Is there any JS (JavaScript) code coverage tool which we can integrate with Selenium Server/RC where one user recommended JsTestDriver instead.