Re:Giving up on test-first development
by sago on Friday March 18, 2016 @07:52AM
(#11311132)
See my reply above. I think your view is either naive, or you understand 'implementation decision' in too narrow a way.
[ Parent
| on HN ]
I understand "implementation decisions" in quite well-defined way; only functional invariants should be tested. Your example is a perfect illustration for one.
Additional point is that invariant-based testing can easily be transformed into automated fuzzy tests using Quickcheck and its analogues, and this can find immense amount of otherwise hidden bugs.
> only functional invariants should be tested.
That makes no sense at all.
> Your example is a perfect illustration
I didn't give an example.
> invariant-based testing can easily be transformed into automated fuzzy tests
'fuzz' not 'fuzzy'. True, but irrelevant to the point being argued.