News for hackers. Stuff that matters.
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.
Re:Giving up on test-first development by atemerev on Friday March 18, 2016 @08:18AM (#11311238)
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.

Re:Giving up on test-first development by sago on Friday March 18, 2016 @09:57AM (#11311783)
> 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.