/create-100-workshop

The road to 100% test coverage workshop

Primary LanguageJavaScriptMIT LicenseMIT

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: https://speakerdeck.com/ruyadorno/the-road-to-100-percent-test-coverage

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:

npm init @ruyadorno/100-workshop

Or alternatively you can also run using npx:

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:

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

License

MIT © 2023 Ruy Adorno