About 132,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. 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: …

  3. 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' …

  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. 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. …

  6. 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 …

  7. javascript - code coverage for cucumber.js? - Stack Overflow

    Jan 31, 2015 · How to get code coverage of javascript using cucumber? Related. 2. JavaScript Code Coverage. 5.

  8. 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 …

  9. 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 …

  10. Merge python and javascript coverage to appear in one …

    Oct 25, 2023 · The problem here is that the coverage files refer to the code files as "src/yourfilename" instead of "api/src/yourfilename" or "front/src/yourfilename", so SonarCloud …