Answer the question
In order to leave comments, you need to log in
Does it make sense to cover the controller with tests?
If all the functionality is described in models and the models are completely covered by tests, does it make sense to also cover the controller with tests?
Answer the question
In order to leave comments, you need to log in
It makes sense to cover with functional tests, elementary for status 200 for example.
Yes, controllers also have code that needs to be covered by tests.
Depends on the degree of your laziness, the degree of responsibility of the order and the amount of payment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question