3 ms·
>Unit tests are, unfortunately, not sufficient at expressing complex invariant properties and assumptions. They're also insufficient at clearly articulating mo
by pydry 6y ago
>Unit tests are, unfortunately, not sufficient at expressing complex invariant properties and assumptions.
They're also insufficient at clearly articulating most specifications. Unit tests allow you to express clearly specifications in the form of code APIs that don't have complex side effects. They suck at everything else (that's about 90% of all real code).
Good luck converting that user mock up into a unit test.
TDD is technically possible with UAT - it just requires sophisticated tooling that is, most of the time, more expensive to build and maintain than your actual app. It also requires love/investment to make it fast enough.
Its not worth it most of the time and TDD with unit tests is an insufficient salve. Hence QA teams and developers who have a feedback loop that involves running the code and clicking stuff.