3 ms·
They aren’t, and it’s detrimental to think of them that way.
by enraged_camel 8y ago
They aren’t, and it’s detrimental to think of them that way.
- aylmao 8y agoWhy do you think so? I think they're better than equivalent tests, and in fact help bring about better testing. A lot of unit tests will revolve around checking types. If you don't have to runtime-check this, you can focus unit tests on semantics and integrations assuming the underlying data structures are correct.