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

https://github.com/ruyadorno/create-100-workshop

The road to 100% test coverage workshop
https://github.com/ruyadorno/create-100-workshop

Last synced: about 1 month ago
JSON representation

The road to 100% test coverage workshop

Awesome Lists containing this project

README

        

# The Road to 100% test coverage workshop

This repo contains the code generator for the session **The Road to 100% test
coverage workshop** presented at NodeConf EU 2023.

You can see the slides for this workshop here:

## Prerequisites

`node18+`, make sure the `npm` and `npx` commands are available.

## Usage

Create a new empty folder in a suitable location on your machine, then using a
terminal, navigate to that folder and run:

```sh
npm init @ruyadorno/100-workshop
```

Or alternatively you can also run using `npx`:

```sh
npx @ruyadorno/create-100-workshop
```

### Navigating the workshop steps

The workshop is composed by 10 steps which add missing tests and refactor the
initial module generated. In order to execute a specific step, run:

```sh
npx @ruyadorno/create-100-workshop --step=1
```

## License

[MIT](LICENSE) © 2023 [Ruy Adorno](http://ruyadorno.com)