Chapter 10 : Testing

In order to keep up with our competitors, we must move quickly and ensure quality. One vital tool in our arsenal that allows us to move quickly while ensuring quality is testing. Testing can mean a lot of things, from linting and typechecking to actually writing tests.

Typechecking

  1. PropTypes Error (run it)

  2. PropTypes Required Values (run it)

  3. PropTypes OneOf (run it)

  4. Flow Project (view the code)

  5. TypeScript Project (view the code)

TDD with React

  1. Testing Introduction (view the code)

  2. Testing React Components (view the code)

Last updated