News for hackers. Stuff that matters.
Re:Has UML died without anyone noticing? by corty on Monday April 26, 2021 @04:37AM (#26940519)
Writing tests instead of utilizing the compiler is wasted time and effort. And it is one of the worst kinds of code duplication, because you are reimplementing all the type-checking, bounds-checking, etc. Usually badly, buggy and again and again. And since usually the test suite doesn't have tests for the tests, you will only notice if something breaks in the most inopportune occasion possible.
Re:Has UML died without anyone noticing? by jnwatson on Monday April 26, 2021 @10:54AM (#26943136)
In unit testing for dynamically typed languages, very rarely do you make explicit type checks. The type checking naturally falls out of testing for correct behavior.

The "tests for the tests" is code coverage.