SE-Radio Episode 283: Alexander Tarlinder on Developer Testing

Topics covered
Popular Clips
Questions from this episode
- Asked by 2 people
Episode Highlights
Testable Code
In the realm of software development, testable code is defined by its observability and controllability. explains that testable code should be observable, meaning its behavior can be monitored, and controllable, allowing developers to manipulate its state for testing purposes 1. He highlights the challenges of achieving these attributes, especially when dealing with external dependencies like databases or live data, which can hinder controllability 2. shares an example from his experience with stock trading systems, where testing was complicated by the uncontrollable nature of live data 1.
If you scale that's on unit test level. And again, now I got carried away here, but I'm just gonna slow down it scales, because if you look at systems, for example, an entire system may be untestable because of external dependencies that you simply can't control.
---
Understanding these concepts is crucial for developers aiming to write robust and testable code.
Developer Testing
Developer testing is distinguished by its intentional and systematic approach to ensuring software correctness. emphasizes that developers must actively engage with testing tools and techniques to achieve high code quality 3. He acknowledges the potential for bias, as developers may overlook scenarios in their own code, but argues that this bias is outweighed by the benefits of developers testing their own work 4. also notes the gap in existing literature, which often focuses on testing tools rather than what to test, highlighting the need for guidance on creating meaningful tests 5.
Developer testing is a lot about preventing, it's about prevention.
---
This systematic approach helps developers anticipate and address potential issues early in the development process.
Related Episodes


Episode 155: Johannes Link & Lasse Koskela on TDD
Answers 383 questions

SE-Radio Episode 256: Jay Fields on Working Effectively with Unit Tests
Answers 383 questions
SE Radio 633: Itamar Friedman on Automated Testing with Generative AI
Answers 383 questions

SE-Radio-Episode-253-Fred-George-on-Developer-Anarchy
Answers 383 questions

SE-Radio Episode 324: Marc Hoffmann on Code Test Coverage Analysis and Tools
Answers 383 questions

SE Radio 628: Hans Dockter on Developer Productivity
Answers 383 questions

SE-Radio Episode 322: Bill Venners on Property Based Tests
Answers 383 questions
SE Radio 632: Goran Petrovic on Mutation Testing at Google
Answers 383 questions

SE-Radio Episode 357: Adam Barr on Code Quality
Answers 383 questions

SE Radio 554: Adam Tornhill on Behavioral Code Analysis
Answers 383 questions

SE Radio 572: Gregory Kapfhammer on Flaky Tests
Answers 383 questions

SE Radio 637: Steve Smith on Software Quality
Answers 383 questions

Episode 101: Andreas Zeller on Debugging
Answers 383 questions

SE-Radio Episode 295: Michael Feathers on Legacy Code
Answers 383 questions














