5 ms·
I've used tests similarly when designing APIs, partly to subject myself to my API's UX flaws. I write mostly functional/integration tests[1]. I try to avoid ne
by coolsunglasses 12y ago
I've used tests similarly when designing APIs, partly to subject myself to my API's UX flaws.
I write mostly functional/integration tests[1]. I try to avoid needing unit tests by making mistakes/errors of that sort impossible by construction (types).
Good post.
[1] https://github.com/bitemyapp/bloodhound/blob/master/tests/tests.hs https://github.com/bitemyapp/bloodhound/blob/master/tests/te...