Is TDD Dead? (2014)
I&#x27;m going to go on a bit of a tangent.<p>I don&#x27;t follow any particular testing religion, and I definitely find myself struggling to figure out what to test, how to test it, and have inflicted design damage in the name of testability...<p>BUT. I just want to give a shout out to the Rust language for allowing us to test private functions. Sometimes the &quot;tricky&quot; part of a &quot;unit&quot; is not directly in the public API. Maybe you have a fancy regex, string formatter, or sorting algorithm that&#x27;s part of a larger API. The fact that you can test that part directly without the ceremony of constructing the rest of the unit and being forced to parse out subtle differences in the public API&#x27;s output is REALLY refreshing when it&#x27;s needed.<p>That&#x27;s definitely not TDD. But it&#x27;s related to unit testing, so I just felt the need to give a virtual high-five.