Skip to content

Testing

compwron edited this page Feb 23, 2021 · 1 revision

All PRs should have test coverage. Repo test coverage should be around 95% in general. 100% test coverage is not something we strive for per se (TODO - link to explanations of why below)

In general we want to adhere to https://www.betterspecs.org/ which is pretty standard

On testing coverage: what, why, and how

  1. https://www.toptal.com/qa/how-to-write-testable-code-and-why-it-matters
  2. https://softwareengineering.stackexchange.com/questions/120775/how-to-drastically-improve-code-coverage
  3. https://www.simform.com/test-coverage/