For ensuring that the test runs in isolation, real services or components might be replaced with _________ during unit testing.
- Mocks
- Stubs
- Dummies
- Fakes
During unit testing, real services or components that are external to the unit being tested are often replaced with mocks or stubs. Mocks provide controlled behavior for testing without relying on the actual implementations of these external components.
Loading...
Related Quiz
- If you were looking to define custom scripts that should run during build or post-build events, where would you specify this in the project.json file?
- Which file in an ASP.NET Core project acts as the entry point of the application?
- Using the {id:int} syntax in an attribute route enforces that the id parameter must be of type ______.
- One core feature of ASP.NET Core Identity is the ability to provide _________-factor authentication.
- How does ASP.NET Core maintain its modularity compared to its predecessor?