|
|
|
|
|
by xmatos
3334 days ago
|
|
Build tests against your app`s public interface. On a web app, that would be your controllers or API. That will give you good coverage, while avoiding too simple to be useful unit tests. It's really hard to foresee all possible input variations and business logic validations, but that doesn't mean your test suite is useless. It just means it will grow everytime you find a new bug and you are guaranteed that one won't happen again... |
|