What should you do?

You are planning to develop a new application.
You need to ensure that the code is easy to test and obtain high code coverage.
What should you do?
A. Create as many static methods as possible.
B. Create a fake for each class that you are testing.
C. Ensure that concrete classes depend only on other concrete classes.
D. Ensure that each class has only one responsibility.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.