IntermediateTopic 51 of 104Software & Computing

Integration and system testing

Check components working together and the whole system.

In depth

Integration testing checks interactions between components (databases, APIs, services); system testing validates the complete system against requirements, including performance, security and usability; acceptance tests confirm business needs. Environments should mimic production.

Key points

  • Contract testing
  • End-to-end tests
  • Test data management
Example

An integration test posts an order and verifies database and message queue.

Why it matters

Integration and system tests check that components work together, which finds problems that unit tests cannot reveal.

Where this is used

  • Testing a sensor driver with the real microcontroller and bus.
  • Checking the end-to-end flow from a web form to the database.
  • Running the full application on a test server before release.

Frequently asked questions

What is Integration and system testing?

Check components working together and the whole system.

Why is it important to understand integration and system testing?

Integration and system tests check that components work together, which finds problems that unit tests cannot reveal.

What is the difference between integration and system testing?

Integration testing checks interactions between a few components, while system testing checks the whole application against its requirements.

Why are integration bugs common?

Interfaces, data formats and assumptions differ between components, and these mismatches only appear when they meet.

How is Integration and system testing used in practice?

Typical applications include testing a sensor driver with the real microcontroller and bus, checking the end-to-end flow from a web form to the database and running the full application on a test server before release.

What should I learn before Integration and system testing?

Study "Test-driven development" first (topic 50 of 104 in Software & Computing). It covers the groundwork this topic builds on.

What are the key points of Integration and system testing?

Contract testing. End-to-end tests. Test data management.

Can you give an example of Integration and system testing?

An integration test posts an order and verifies database and message queue.

What comes after Integration and system testing?

The next topic is "Code review and refactoring", which builds directly on this one.

How difficult is Integration and system testing?

It is classed as Intermediate in Software & Computing (topic 51 of 104). It is an intermediate topic. Work through the beginner topics in Software & Computing first.

Learning path

Want to practise? Open the interactive course for quick checks, quizzes, simulations and progress tracking.

Related topics