Technology & platformNew⏱ ~1 min

Test rig

A setup that simulates the counterparty in an integration, so that behaviour can be exercised, failure cases included, before anything goes into production.

A test rig is not a test environment of your own systems. It is an imitation of the other side. The distinction matters: in your own test environment you check that your code does what you think it does, whereas a rig lets you check that it does the right thing when the counterparty answers something unexpected.

It is that second half which is hard to arrange without a rig. Against a real system you can rarely order up a rejection, an expiring deadline or a message arriving out of order. Against a simulation you can provoke them deliberately, and repeat them identically every time, which is the precondition for a test being usable to measure a change.

TestingIntegrationQuality