Engineering Kỹ thuật phần mềm

Technical ideas, architecture, development practices, tools and problem solving.

EngineeringSlides

Testing AI-Written Code: Avoid Tests That Are Always Green

AI writes the code and the tests for it, so a test easily just confirms the code it just wrote. This article explains why green tests are not enough, gives a 500-thousand boundary example, and seven ways to keep tests valuable: write from the spec, see red first, break the code yourself, mutation testing, property-based testing, boundary tables and a real run.

9 min read
  • #testing
  • #tests
  • #AI
  • #mutation testing
  • #property-based testing
  • #quality