Write Tests for Errors
Opened this issue · 0 comments
shetaye commented
Errors need tests too! Services should be tested in a way to stimulate error responses and those errors should be validated as correct (Only the type and the fact it returns an error, actual error message details don't need to be tested).
(From GitLab)