You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2023. It is now read-only.
This section should mention another benefit in that it makes unit testing easier.
I am not all the way through the course yet, but at some point the students should create an interface for a dependent service like the database and learn how to unit test without actually calling into the database.
The text was updated successfully, but these errors were encountered:
Scott, thanks for the suggestion. We can easily add the unit testing benefit. However, at this point in the textbook, diving into the example of the dependent service seems like too big of an ask for the students. Similarly, even a more straightforward example would distract from the core flow of the chapter.
https://education.launchcode.org/csharp-web-development/chapters/interfaces-and-polymorphism/interfaces.html
8.2.3. Benefits of Using Interfaces
This section should mention another benefit in that it makes unit testing easier.
I am not all the way through the course yet, but at some point the students should create an interface for a dependent service like the database and learn how to unit test without actually calling into the database.
The text was updated successfully, but these errors were encountered: