Re:Yarn's Future – v2 and beyond
by enraged_camel on Thursday January 24, 2019 @12:28PM
(#18990760)
They aren’t, and it’s detrimental to think of them that way.
[ Parent
| on HN ]
Why 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.