News for hackers. Stuff that matters.
Re:Where is Ruby Headed in 2021? by whakim on Friday November 19, 2021 @12:57PM (#29280166)
If you're just testing pieces of code in isolation, then you're either writing lots of tests or making assumptions about the kinds of input that your function could reasonably receive or return. If you're testing end-to-end, you're either writing lots of (much more expensive) tests or you're missing corner cases. I don't think that's problematic per se. Testing is just a bit of a mismatch for the problems that type systems solve.

There are no comments on this comment yet.