Hacker News new | ask | show | jobs
by troupo 872 days ago
> spend time writing up lots of tests for things that get covered “automatically” in statically typed languages

This is mostly down to poor testing culture in general. People end up writing a lot of meaningless unit tests when what you need is integration tests. However, there's very little tooling to help with integration tests (in all languages) as everything is focused on unit testing only.

With proper integration tests you will cover much of what the compiler gives you in statically-typed languages.

1 comments

I don't think it makes sense to expect integration tests have 100% coverage, which is what you would need.
Nothing is really 100% coverage :)
Unless you are sqlite, they might actually credibly have 100% coverage.