![Sustainable Test-Driven Development artwork](https://is4-ssl.mzstatic.com/image/thumb/Podcasts4/v4/8f/e1/a2/8fe1a289-22bb-242f-2742-20cd69237ba1/mza_8762419522389269149.jpg/100x100bb.jpg)
TDD: Specifying the Negative
Sustainable Test-Driven Development
English - September 25, 2015 22:35 - ★★★★ - 1 ratingTechnology Education How To lean agile tdd testing technical software design patterns kanban scrum Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: TDD and Its (at least) 5 Benefits
Next Episode: Structure of Tests-As-Specifications
One of the issues that frequently comes up is "how do I write a test about a behavior that the system is specified not to have?" It's an interesting question given the nature of unit tests. Let's examine it.
The things that you cannot do
Sometimes part of the specification of a system is to disallow certain actions to be taken on it.
The simplest example of this is an immutable