
















We should really stop thinking that writing tests is easy. It's not.
Having many tests that all test the same thing is completely pointless. We need good tests, not many tests.
I have personally seen AI written test that was assigning a variable to 1, never re-assigning it and then testing in several places that the variable was still 1. And no, it was not a test to check if the CPU and RAM are working.
Write good tests instead of committing thousands of lines of useless asserts.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。