4 ms·
When should tests be written for code? The answer will quickly reveal their methodology and how they approach a project. Generally people don't use tests when
by gitgud 7y ago
When should tests be written for code?
The answer will quickly reveal their methodology and how they approach a project. Generally people don't use tests when prototyping. Some people use tests when things break, others write tests before they code something.
Each type of response is appropriate for a specific role or business and that question is good at determining that.
- sgillen 7y ago> Each type of response is appropriate for a specific role or business I feel like answering that testing needs to be appropriate for the use case is the only "correct" answer to this question. If a candidate was overly dogmatic about one form of testing that would raise red flags for me.