Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/te...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: