Can we use a mock to unblock a dependency?

Controlled provisional interface

A mock can support learning and parallel work when its assumptions and limits are explicit. It does not prove the real integration works, so plan verification against the actual dependency.

What to do now

  1. Define the provisional interface behavior
  2. Record assumptions and known gaps
  3. Use the mock for suitable work
  4. Schedule real integration and reconciliation tests
Recommended action flow for controlled provisional interface: Define the provisional interface behavior then Record assumptions and known gaps then Use the mock for suitable work then Schedule real integration and reconciliation tests. Escalate when the team proposes release based only on mocked behavior.

When to escalate

Escalate when

The team proposes release based only on mocked behavior.

Who decides

The accountable integration or dependency owner

Example

A team develops against a mock payment response but verifies actual provider behavior before launch.

Mistake to avoid

Treating a successful mock test as production integration evidence.

Prevent a repeat

Verify dependency completion with the consuming team and test the integrated outcome early enough to act.

Suggested ApprovedFlow setup

  • Tasks
  • Documents
  • Projects

Keep dependency owners, required evidence and dates with linked work records, confirming supported link behavior in the current build. See the platform

Related cases

Practice references