2 ms·
>only covers happy paths or frequent uses, Maybe, but there's no way a dev can possibly think of every single crazy thing an end user will try to do. There's a
by dylan604 6y ago
>only covers happy paths or frequent uses,
Maybe, but there's no way a dev can possibly think of every single crazy thing an end user will try to do. There's a reason things are referred to as edge cases. You design a system to to work a specific way, and then document the workflow to make it work. Anything outside the documented procedure is eperimental. Sure, a dev can build as many bozo tests into the thing that they can think of, but users will always come up with something different.
- justin_oaks 6y agoValid point. Perhaps use of "corner cases" didn't help my point. I mean that there shouldn't be valid, intended functionality that remains undocumented. Another example is an API I use that has a property that has no documentation other than the property's presence. I just roll my eyes at that.
- gowld 6y agoIf your API has unpredictable corner cases, your data model or API is wrong