~/talk

A modern testing tale

Talkat Build Stuff 2024 · 2024-11-13..11-15· [testing, ai-assisted-development]
links:none on file
slides:none on file

Attempts to auto‑generate unit tests for a Vet app reminder feature use JetBrains Assistant, GitHub Copilot and ChatGPT and repeatedly fail to produce reliable coverage: the first run yields four tests that mock most collaborators and are coupled to implementation, later attempts produce three test classes covering only happy paths and one error, many generated tests don't compile and use current time so are non‑deterministic; a date‑calculator collaborator lacks critical coverage, so AI helps create examples but cannot replace human validation.

AI-written summary · about

  1. 0:00🚀 Introduction: Exploring AI's Role in Unit Testing
  2. 2:30The Value of Unit Testing in Software Development
  3. 5:00The Importance of Good Unit Tests: Fast, Isolated, and Repeatable
  4. 8:00Overview of the "FIRST" Principles for Writing Effective Unit Tests
  5. 12:00Understanding the "Testata" Framework for Identifying Quality Unit Tests
  6. 16:00Introducing the Unit Testing Challenge: Creating Reminders in a Vet App
  7. 20:00The First Attempt: Using AI to Generate Unit Tests for the Reminder Feature
  8. 22:00Identifying Issues with AI-Generated Tests: Lack of Determinism and Coupling
  9. 26:00The Second Attempt: Revising the AI-Generated Tests and Addressing Errors
  10. 30:00The Final Attempt: Analyzing AI's Successes and Failures in Generating Tests
  11. 32:00Why AI Won't Fully Replace Human Involvement in Unit Testing
  12. 34:00Conclusion: How AI Can Help, But Humans Must Remain in Control
~/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.