Skip to content
h2check
ChecksToolsChecklists
Checks

CI and test suite quality

21 procedures covering test coverage, flaky test detection, test duration, build reproducibility, dependency vulnerabilities and audits. Out of scope here: CI vendor setup guides, pipeline architecture, release management.

Dependencies and Lockfile

  • How to check dependency tree npm6 min
  • How to check if package lock is in sync7 min
  • How to check installed npm package version5 min
  • How to check npm package licenses8 min
  • How to check npm packages for vulnerabilities5 min
  • How to check outdated npm packages6 min
  • How to check unused dependencies in package json8 min
  • How to check why a package is installed5 min

Repo and Build Hygiene

  • How to check environment parity9 min
  • How to check for secrets in a git repository8 min
  • How to check if a build is reproducible10 min
  • How to check if a npm package is installed globally6 min
  • How to check node version of a project5 min

Coverage

  • How to check branch coverage6 min
  • How to check code coverage threshold6 min
  • How to check test coverage5 min

Lint and Type Checks

  • How to check eslint errors7 min
  • How to check prettier formatting6 min
  • How to check typescript errors6 min

Flaky and Slow Tests

  • How to check which tests are slowest8 min
  • How to detect flaky tests14 min

Checkers for this area

  • Test a regular expressionbrowser

Checklists

  • Pull request checklist14 checks

Questions people ask about this area

  • how do you measure test coverage
  • what is a flaky test
  • what is test flakiness
  • how to fix npm vulnerabilities
  • what is the difference between npm install and npm ci

h2check.org is published by Maks Verny. Every procedure lists the date its commands were last run.

Checks · Tools · Checklists

Methodology · About · Contact

Checker inputs and results are not stored. What that means in practice is on the methodology page.