API testing often requires the use of _________ to simulate the behavior of external systems, a practice less common in unit testing.

  • Fixtures
  • Mocking
  • Spying
  • Stubbing
Detailed In API testing, mocking is commonly used to simulate the behavior of external systems. It involves creating objects that simulate the behavior of real components. Mocking allows testers to control the responses from external dependencies, providing a controlled environment for testing. This practice is less common in unit testing, where the focus is on isolated components.
Add your answer
Loading...

Leave a comment

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