All challenges
Multiple ChoiceIntermediate 30s

Mocking

Choose the best answer for: mocks in testing
Options
  1. 1Mocks replace absolutely all of the application code
  2. 2Mocks are used in production rather than in tests
  3. 3Mocks replace dependencies to isolate the unit under test
  4. 4Mocks are real implementations talking to the database

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle