Learning on Web Dev Open is free for all.

Backend Engineering > Proving it works, then shipping itThe test that would have caught it
Phase 05Proving it works, then shipping it275 of 434

The test that would have caught it

Take three real bugs from your own build, write the failing test for each, then fix them.

Build50 minAI implements

Build this in your own editor

This one runs on your machine rather than in the browser workbench. Work to the outcomes below, then come back and mark it complete.

You should now be able to

  • Reproduce a bug as a failing test
  • Cover the error paths your contract promises
  • Run the suite in CI on every push
Ask the community

Loading…