An open API service indexing awesome lists of open source software.

https://github.com/baumannzone/100-code-coverage-is-useless

💯% Code Coverage is useless
https://github.com/baumannzone/100-code-coverage-is-useless

ava code-coverage css html javascript nodejs testing unit-testing

Last synced: 7 months ago
JSON representation

💯% Code Coverage is useless

Awesome Lists containing this project

README

          

# 💯% Code coverage is useless

[![Build Status](https://action-badges.now.sh/baumannzone/100-code-coverage-is-useless?action=Run%20Tests)](https://github.com/baumannzone/100-code-coverage-is-useless/actions)
[![Coverage Status](https://coveralls.io/repos/github/baumannzone/100-code-coverage-is-useless/badge.svg?branch=master)](https://coveralls.io/github/baumannzone/100-code-coverage-is-useless?branch=master)
[![Netlify Status](https://api.netlify.com/api/v1/badges/c0f298bd-8ad3-4649-a8d2-13b01857f855/deploy-status)](https://app.netlify.com/sites/100-code-coverage-is-useless/deploys)

[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)

---

* [Live Demo](#demo)
* [Install](#install)
* [Run code](#run-code)
* [Run tests](#run-tests)
* [Aditional info](#aditional-info)
* [License](#license)
* [Contributors ✨](#contributors--)

> Code Coverage is a measurement of the percentage of code lines executed during the test suite.

![CodeCov Terminal](./assets/terminal-codecov.png)

## DEMO:
`/src`: https://100-code-coverage-is-useless.netlify.app/
Blog post: https://medium.com/@baumannsito/100-code-coverage-is-useless-48fcd5e0128b

## Install
```
npm install
```

## Run code
```
npm run start
```

## Run tests
```
# run tests
npm run test

# run tests & get coverage report
npm run test:coverage
```

## Aditional Info
- Test runner: [AVA](https://github.com/avajs/ava)
- Coverage report: https://istanbul.js.org/

## License
This material is available for private, non-commercial use under the GPL version 3. If you would like to use this material to conduct your own workshop, please contact me at [@baumannzone](https://twitter.com/baumannzone)

---

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Jorge Baumann

💻 📖

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!