The Bike Shed

448: Other Uses for Tests

Nov 26, 2024
Discover how tests can do more than identify bugs—they can act as living documentation that evolves with your code. The hosts explore innovative uses of tests in enhancing team collaboration and code readability, crucial for smooth project handoffs. Learn about balancing comprehensive coverage with practicality, and the importance of accountability in code reviews. Dive into techniques for improving test suite readability, and see how retrofitting tests can reveal hidden edge cases in legacy code. Transform your testing approach and empower your development process!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

19 PRs for One Feature

  • Joël Quenneville recently presented on using dependency graphs for iterative work.
  • This was inspired by client work involving 19 PRs for one complex, interrelated feature.
ADVICE

Using Dependency Graphs

  • Decompose complex problems into smaller tasks, then map their dependencies.
  • Work from leaf nodes (no dependencies) back to the root, shipping each independently.
ANECDOTE

Unexpected Handoff

  • Stephanie Minn had to hand off a complex project early due to an unexpected offboarding.
  • Despite her anxiety, the handoff went smoothly thanks to thorough documentation and a test run.
Get the Snipd Podcast app to discover more snips from this episode
Get the app