~/talk

How to Improve Test Coverage to 80% with Generated Unit Tests and Stay Calm

TalkinRussianat The Rolling Scopes Conference 2018 · on Sunday, 2018-02-11· [testing, developer-experience]
slides:none on file

A generator creates React component scaffolding plus unit tests that fully cover all generated code; Jest snapshot tests and a sandbox exercise render branches. The workflow adds linters, pre-commit hooks and CI, while schema-driven mock generation and property testing produce varied inputs and proxies catch mutated constants. This approach yields about 80% test coverage overall, leaving roughly 20% (side effects, network handlers, event processors) for manual tests.

AI-written summary · about

  1. 0:00Test coverage introduction
  2. 3:20Automating tests with linters
  3. 8:15Generating components and tests
  4. 11:26Isolated testing sandboxes
  5. 15:42Test data generation
  6. 18:55Jest setup and snapshots
  7. 21:26CI/CD test integration
  8. 24:57Getting started with tests
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.