What Do Tests Provide?

  • examples of input and output data
  • the ability to run and verify that everything still passes: important for refactoring and integrations
  • the double-entry bookkeeping principle for greater reliability (this applies more when tests and code are written by different entities). It’s worth noting that software is becoming increasingly critical to everyday life, so reliability requirements are growing
  • changes to code architecture to make it testable (in TDD this is considered almost the most important thing)

Are Tests Still Relevant in the AI Era?

  • important for refactoring
  • relevant if reviewed by a human, not just added without inspection