~/talk

TDD & generative AI - a perfect pairing?

Talkat Jfokus 2025 · 2025-02-03..02-05· [ai-assisted-development, testing]
links:none on file
slides:none on file

Claim: generative AI can implement unit tests-first code if tests are run automatically. Built a JAR tool and a Maven plugin that sends a single test file to an LLM, writes/compiles/loads the returned Java, and runs JUnit 5; plain Java and Spring Boot demos succeed (some answers in ~8–10s, local LLM under 10s), tricky cases need retries or cloud models. Prototype takes 10–15 evenings to build, costs < $12 to explore, and uses test-driven generation with local LLM (Llama 3.1).

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Reverse TDD-AI workflow
  3. 2:32Three concepts
  4. 5:03Test driven generation
  5. 7:12Risks of trusting LLMs
  6. 8:14Happy flow and limits
  7. 9:19Choosing AI model
  8. 10:03Demo: odd even test
  9. 13:35Demo: prime numbers
  10. 15:19Manual steps challenges
  11. 16:23Building test generator
  12. 22:20Demo: automated tool
  13. 24:09Adding features via tests
  14. 27:27Tool self-testing
  15. 32:12Extending to libraries
  16. 33:39Demo: Spring Boot test
  17. 36:46Demo: age calculation
  18. 39:56Error handling and outputs
  19. 41:19Approach limitations
  20. 42:42Pricing and cost
  21. 44:06Future improvements
  22. 45:53Ideal endpoints
  23. 47:17Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.