Shotgun with Eric Elliott – Episode 1

In this episode we start a brand new React project – an online course presentation engine with React. EricElliottJS.com is currently powered by WordPress, but we want to provide a world-class, custom-tailored experience for students. This project is step one of an important usability overhaul.

This video is a great overview of the TDD process with React components. Some of the stuff you’ll see in this episode:

  • Unit testing with Tape
  • Auto-lint & test with watch
  • Enzyme (with a hitch)
  • Cheerio
  • Test-first methodology (Red/Green/Refactor workflow)

Commit Log

Initial code commit

  • Set up unit tests
  • Implement the first component unit test

Links

Next – Episode 2: UI Tests That Don’t Break