About 130,000 results
Open links in new tab
  1. javascript - Jest code coverage not picking up JS files from parent ...

    Jan 1, 2025 · I can now run npm run test:coverage to run the coverage from the root directory, but can still leave the tests specific dependencies (babel, enzyme, etc) in my tests folder. Most of …

  2. How do I read an Istanbul Coverage Report? - Stack Overflow

    Oct 29, 2014 · For each case, the percentage represents executed code vs not-executed code, which equals each fraction in percent format (e.g: 50% branches, 1/2). In the file report: 'E' …

  3. Capybara-webkit – javascript code coverage? - Stack Overflow

    Dec 23, 2012 · I agree. This makes JSCover useable by higher level tools that don't work well with iFrames or multiple windows which are avoided by this approach. It also means code …

  4. node.js - Code coverage with Mocha - Stack Overflow

    May 19, 2013 · npm run test-with-coverage to run tests with code coverage. Force test failing if code coverage is low. Fail if the total code coverage is below 90%: nyc --check-coverage - …

  5. SonarQube showing 0% code coverage in node js application

    Jul 7, 2022 · I have installed sonar Qube and integrated it with node js application. Right now I am getting code coverage as zero so I created a sonar properties file as below …

  6. javascript - How to get the code coverage report using Jest?

    Mar 19, 2019 · When using Jest 21.2.1, I can see code coverage at the command line and create a coverage directory by passing --coverage to the Jest script. Below are some examples: …

  7. Any JavaScript code coverage tools for client-server apps in …

    I'm trying to get code coverage for unit tests in a Google Closure client-server project. We have code coverage for the server side, and need client side coverage. JSCover runs its own …

  8. javascript - Code coverage in unit tests - Stack Overflow

    May 27, 2013 · Instead of using a node package to prepare the code, I now just run jscoverage.exe (downloaded from here) from the console, and then go with mocha -R html-cov …

  9. jquery - JavaScript Code Coverage - Stack Overflow

    Nov 17, 2014 · I have done similar exercise with Java, using code coverage tool. On local server I would deploy the application along with coverage tool and go through common flows from UI. …

  10. Exclude function (not an entire file) from JavaScript code coverage

    Dec 18, 2013 · I'm creating some unit tests with Jasmine and the test runner I'm using is Karma. I'm also checking the code coverage of these test specs with the karma-coverage plugin. I was …

Refresh