3 ms·
Unit Tests are accepted as a standard thing in the industry. TDD not so much. Is it great? I don't think so. It does not matter whether you wrote the tests firs
by rmk 5y ago
Unit Tests are accepted as a standard thing in the industry. TDD not so much. Is it great? I don't think so. It does not matter whether you wrote the tests first and then developed the feature, or the other way round. Literally no people manager in my career has mentioned TDD in any sort of setting. In fact the majority have been okay with skipping even writing exhaustive Unit Tests when push came to shove and something needed to be delivered. In the case of statically typed languages, even Unit Tests diminish in value compared to dynamically typed languages: the compiler provides a certain degree of safety that is simply not conferred by the dynamically typed language. A lot of software is written in strongly typed + statically typed languages such as Java and C# by developers who simply do not care about TDD or the software development methodology du jour.