Re:Experiment: Unit testing isn't enough; You need static ty...
by Peaker on Wednesday June 20, 2012 @12:20PM
(#4137666)
You can write far fewer tests if you have good static validation.
For example, taken to the extreme, you can write 0 tests in Agda, and still have more assurances about correctness than if you had 100% coverage in a dynamically typed program.
The use of type-checking doesn't negate the need for unit tests. It just adds another layer of validation. The Unit Test "cost" is still there.