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

Surely the edge cases are something you should have carefully considered before starting to code?

There are two kinds of edge cases: the essential ones that derive from your requirements and problem domain, and the accidental ones that result from implementation details like your choice of programming languages or which libraries you use or your software architecture.

You can try to identify the essential ones and write tests for them in advance, but for the accidental ones there’s only so much you can do with a black box approach to testing.



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

Search: