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.
Add your answer
Loading...

Leave a comment

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