code-coverage.md

July 15, 2021 · View on GitHub

Bookmarks tagged [code-coverage]

www.codever.land/bookmarks/t/code-coverage

coverage

https://pypi.python.org/pypi/coverage

Code coverage measurement.


[Clover c

https://www.atlassian.com/software/clover/overview

Relies on source-code instrumentation instead of bytecode instrumentation.


Cobertura

https://cobertura.github.io/cobertura

Relies on offline (or static) bytecode instrumentation and class loading to collect code coverage metrics.


JaCoCo

http://eclemma.org/jacoco

Framework that enables collection of code coverage metrics, using both offline and runtime bytecode instrumentation.


Setting up test coverage using Mocha, Istanbul, NYC with TypeScript

http://azimi.me/2016/09/30/nyc-mocha-typescript.1.html

package.json + mocha.opts configuration to get mocha and instanbul running with typescript


Using Istanbul With TypeScript & mocha

https://istanbul.js.org/docs/tutorials/typescript/

Thanks to @mohsen1's post the following is the minimum recommended configuration to get accurate TypeScript coverage with mocha. With this…