Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
coffee-coverage-v2
Advanced tools
Istanbul and JSCoverage-style instrumentation for CoffeeScript files.
Istanbul and JSCoverage-style instrumentation for CoffeeScript files.
Instruments CoffeeScript files for code coverage. Compiles .coffee files to .js files, and adds JSCoverage or Istanbul style instrumentation for the original coffee script source.
Assuming you have a folder named "test" full of mocha tests, which directly loads your .coffee files, then from your project's folder, run:
$ npm install --save-dev coffee-coverage
$ npm install --save-dev istanbul
$ mocha --recursive --compilers coffee:coffeescript/register --require coffee-coverage/register-istanbul test
$ ./node_modules/.bin/istanbul report
You should now have an Istanbul coverage report in ./coverage/lcov-report/index.html.
If this doesn't quite do what you're after, check out our tutorials below:
Have coffee-coverage working in a setup not described above? Raise an issue and let us know how you're using coffee-coverage, so we can document it here.
Benbria CoffeeCoverage is a tool for determining the coverage of your unit tests. It does this by instrumenting .coffee files to see how often each line, branch, or function is executed. CoffeeCoverage is capable of producing both Istanbul and JSCoverage style instrumentation.
FAQs
Istanbul and JSCoverage-style instrumentation for CoffeeScript files.
The npm package coffee-coverage-v2 receives a total of 9 weekly downloads. As such, coffee-coverage-v2 popularity was classified as not popular.
We found that coffee-coverage-v2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.