Artwork

Content provided by Jared Norman. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared Norman or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Fear-Driven Development (with J. B. Rainsberger)

46:25
 
Share
 

Manage episode 465803055 series 3645584
Content provided by Jared Norman. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared Norman or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

In this episode of Dead Code, J.B. Rainsberger discusses the pitfalls of integrated tests, calling them a "scam" due to their tendency to complicate rather than solve testing problems. He advocates for writing smaller, more focused tests, like unit tests, to simplify debugging and avoid tangled code. J.B. emphasizes that test-driven development (TDD) should be flexible, guiding developers to test based on what they're afraid might break, rather than following rigid rules. He introduces the concept of four stages of TDD, where developers evolve from focusing on bug prevention to refining their approach based on experience, adapting their testing strategy to different contexts while maintaining the core principle of starting with a failing test.


Links:


J.B. Rainsberger's website

J.B.'s technical blog: The Code Whisperer

J.B.'s broader development blog: Blog by JBrains

Matteo Vaccari’s article: How I Learned to Love Mock Objects

Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce

Test-Driven Development: By Example by Kent Beck

RSpec for Rails

Rails Testing Documentation

Extreme Programming


Dead Code Podcast Links:


Mastodon

X


Jared’s Links:


Mastodon

X


Episode Transcript


Hosted on Acast. See acast.com/privacy for more information.

  continue reading

39 episodes

Artwork
iconShare
 
Manage episode 465803055 series 3645584
Content provided by Jared Norman. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared Norman or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

In this episode of Dead Code, J.B. Rainsberger discusses the pitfalls of integrated tests, calling them a "scam" due to their tendency to complicate rather than solve testing problems. He advocates for writing smaller, more focused tests, like unit tests, to simplify debugging and avoid tangled code. J.B. emphasizes that test-driven development (TDD) should be flexible, guiding developers to test based on what they're afraid might break, rather than following rigid rules. He introduces the concept of four stages of TDD, where developers evolve from focusing on bug prevention to refining their approach based on experience, adapting their testing strategy to different contexts while maintaining the core principle of starting with a failing test.


Links:


J.B. Rainsberger's website

J.B.'s technical blog: The Code Whisperer

J.B.'s broader development blog: Blog by JBrains

Matteo Vaccari’s article: How I Learned to Love Mock Objects

Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce

Test-Driven Development: By Example by Kent Beck

RSpec for Rails

Rails Testing Documentation

Extreme Programming


Dead Code Podcast Links:


Mastodon

X


Jared’s Links:


Mastodon

X


Episode Transcript


Hosted on Acast. See acast.com/privacy for more information.

  continue reading

39 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide

Listen to this show while you explore
Play