Skip to content

Testing

LeoTM edited this page Nov 1, 2022 · 52 revisions

Static Analysis

  • type (TypeScript, Flow)
  • rules (ESLint > Lint Staged)
  • format (Prettier)
  • enforce: Git hooks (Husky)
  • cov: 100%
    • 1 error: fail
    • warnings: pass
    • ignored: -cov

Tests

  • E2E (Detox) native runtime
  • components (RNTL)
  • units (Jest, Mocha, Chai)
  • UI regressions (react-native-owl, Reg Suit, Loki, Jest snapshots)
  • cov: <target>%

Test data

  • screens (Loki, Detox)
  • vids (Detox)

Compat


Clone this wiki locally