3 ms·
I agree. As always, "It Depends". Use the best tool (type of test) to document & test the business or technical rules being requested. Tests help teams (and f
by mattferderer 7y ago
I agree. As always, "It Depends".
Use the best tool (type of test) to document & test the business or technical rules being requested.
Tests help teams (and future-self of the individual who wrote the code) understand why certain code was implemented & what purpose it is meant to solve.
As the business changes the rules they want implemented, having well written out tests seem to help significantly with handling those rules. It also helps when you want to refactor for the sake of code understanding & readability.
It is often the case where both developers & those requesting the changes forget why some of the rules were put in place to begin with.