Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 906 Bytes

File metadata and controls

11 lines (8 loc) · 906 Bytes

This page is archived. Please visit https://countable-ops-manual.readthedocs.io/

Testing

Testing principles. The goals are to write as few tests as possible for maximum coverage of real world usage (not code coverage).

  • Write tests to increase confidence our customers' experience will be good.
  • To exercise important flows like signing up, purchasing, core product experience.
  • Prefer e2e tests, the highest possible level, over unit tests (most of the time).
  • Tie test cases to unchanging real world business logic and inputs, not implementation. This prevents their need to be rewriten during refactors.
  • Keep your test scenarios and code as similar as possible to real usage. Your tests should run the backend server, load actual client pages (like selenium would), and flip a switch to trigger test mode in your front end template.