c8
c8 copied to clipboard
output coverage reports using Node.js' built in coverage
# **[Pull Request 517](https://github.com/bcoe/c8/pull/517)** ## Commit Message commit b33e8e7773ea79897c8b77f92894a7cb3fc5aaf7 Author: Trevor D McKeown Date: Sun Feb 18 09:17:58 2024 -0500 Print Derived Configuration Report (#517) feat: print derived config variables...
_(Note that the reported issue below was encountered in CI on github action's `ubuntu-latest` ([the ci.yaml used](https://github.com/benvinegar/counterscale/blob/main/.github/workflows/ci.yaml)). I'm not directly sure what version of Node is packaged with github action's...
I was submitting a feature request for the [vitest project](https://github.com/vitest-dev/vitest), regarding that generating coverage reports when unit tests fail does not make a lot of sense. It was noted that...
I'm observing that we are ignoring certain files from the coverage report on windows due to a quirk in the way [test-exclude](https://github.com/istanbuljs/test-exclude) works. When we get here on windows: https://github.com/bcoe/c8/blob/master/lib/report.js#L253...
I'm filing at the request of @bcoe. The bug may actually be in [v8-to-istanbul](https://github.com/istanbuljs/v8-to-istanbul). To repro `npm i -g c8 esm nyc` Then create a file `foo.js`: ```js const {...
Do not use the `excludePath` callback. Remove the excluded sources at the end, after all coverage parts have been merged. This might be a problem in `v8-to-istanbul`, because `istanbul-lib-coverage` doesn't...
Because our `--all` functionality does not take into account multi-line comments, we end up with a fairly large discrepancy between `nyc` and `c8`'s `--all`, see: https://github.com/googleapis/nodejs-asset/pull/236 I wonder if we...
# **[Pull Request 514](https://github.com/bcoe/c8/pull/514)** ## Overview This pull request adds a configuration file for the test harness package [Mocha](https://mochajs.org/#configuring-mocha-nodejs). Furthermore, it addresses some silent errors in how the assertion library...
# **[Pull Request 447](https://github.com/bcoe/c8/pull/447)** Increase code quality by increasing code coverage: lib/parse-args.js refactor: bumping code coverage to 100% for lib/parse-args.js. (#447) test: Adding a test case for NODE_V8_COVERAGE and changing...
# **[Pull Request 452](https://github.com/bcoe/c8/pull/452)** This pull request has two commits. [Increase code quality by increasing coverage: lib/report.js](https://github.com/bcoe/c8/pull/452/commits/7b91bcd83b6afbfb68eaefbdc7d526c3714bc7fc) [Expose the Report Class for future extension](https://github.com/bcoe/c8/pull/452/commits/45f0d1a2069369e648f92aacbdd06a3d9cee5fbd) Refactoring the report module export was...