Changelog News cover image

Changelog News

Why you shouldn't use AI to write your tests

May 28, 2024
Jordan Cutler shares a real-life experience of writing clear code and it backfiring, Swizec’s caution against using AI for test writing, LlamaFs self-organizing file system, Pew Research on broken internet links, Sam Rose's study on queuing strategies
08:46

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Focus on user interactions for tests, not implementations, to promote flexibility.
  • LlamaFS organizes files based on content, highlighting the prevalence of broken links on the internet.

Deep dives

Reconsidering AI Writing Tests

Swizzic argues against deriving tests from implementations and proposes writing higher-level tests instead. These tests focus on user interactions, allowing for flexibility in the underlying implementation. The shift towards feature coverage over code coverage is emphasized, suggesting that AI could excel in creating such valuable tests.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode