Testing - leotm/react-native-template-new-architecture GitHub Wiki

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>%
    • CLI included for checking locally?

Reporting

  • screens (Loki, Detox)
  • vids (Detox, scrcpy)
  • cov map +/-
  • Maestro: mobile.dev
  • Appium

Compat


⚠️ **GitHub.com Fallback** ⚠️