System integration testing (SIT)
System integration testing checks that separate systems and their interfaces work together correctly, for example that a trade booked in one system reaches settlement and the ledger with the right values. It follows unit testing and comes before user acceptance testing.
What it is
System integration testing (SIT) is a test level in which separate systems, already tested one by one, are connected and tested together. The test items are the interfaces and the interactions between the integrated parts, such as files, messages and calls between systems.
The aim is to find faults that no single system shows alone. Each system can pass its own tests and still fail when linked, because a field has a different length, a code means something else, or a message arrives in a different order than expected.
A SIT cycle has these parts:
- Test scenarios that follow a business event from the first system to the last, end to end.
- A test environment where the systems are connected as they are in operation, with test data.
- Expected results at each interface and at the end of the chain.
- Defects raised, fixed and retested until the scenarios pass.
SIT comes after unit testing, which checks single components, and before user acceptance testing, which asks whether the business accepts the result.
Why it matters
A change in a financial process often touches several systems: a front-office system, a settlement system, a ledger and a reporting store. Faults at the boundaries between them are found cheaply in SIT and expensively in production, where they appear as failed settlements, breaks in reconciliation or wrong reports.
SIT also gives the business a reliable base for acceptance testing. Business users then test the process, not the plumbing.
Worked example
Illustrative numbers. A project connects a trade booking system to a settlement system and a ledger. The test team prepares 20 scenarios covering different instrument types, currencies and cancellations.
In the first run, 15 scenarios pass. In 3, the settlement amount is correct but the ledger holds the amount in the wrong currency field. In 2, a cancellation message is not recognised by the settlement system, so the instruction stays open.
The team raises 5 defects, the developers correct them and the test team reruns the 5 failed scenarios and a sample of the 15 that passed, since a fix can break something that worked. When all 20 pass, SIT is complete and the business starts acceptance testing.
How to read it
A pass rate is read with the coverage behind it. A high pass rate on few scenarios says little. Open defects are weighed by severity and by the business event they block. A failed scenario at an interface points to the interface specification, the mapping or the data, and the defect record says which.
Assumptions
- Each system has passed its own unit and component tests, so failures point to the connections.
- The test environment resembles the operational one in versions, interfaces and data formats.
- Interface specifications exist and are agreed, so that expected results can be stated.
- Test data covers the variety of real cases, including exceptions and cancellations.
Who uses it
- Business analysts write the scenarios from the process and state the expected results at each step.
- Test coordinators plan the cycles, run the scenarios and track defects to closure.
- Developers, including quantitative developers where models feed other systems, fix interface faults and explain the data flows.
- Product owners decide whether the remaining defects block the move to acceptance testing.
- Project managers use the results to judge whether the project is ready to move on.
Common confusions
- SIT is not user acceptance testing. SIT checks that systems work together, acceptance testing checks that the business accepts the outcome.
- SIT is not unit testing. It does not examine the internal logic of one component.
- Passing SIT does not prove performance or security. Those are tested separately against non-functional requirements.
- SIT after a fix is not the same as regression testing, although both rerun scenarios. Regression testing checks that unchanged functions still work.