Integration, User, and Acceptance Testing

Get familiar with integration, user, and acceptance testing.

Testing in different scenarios

Testing in different scenarios can be different:

  • To test multiple pieces together, we use the same idea as in snapshot testing.

  • For unit testing with snapshots, each piece produces its own snapshot.

  • For integration testing, the collection of pieces combined into the application produces the snapshot.

Difficulty in test automation

Some parts of an application are difficult to test automatically. Here, snapshot testing is well suited since it requires an expert review.

Example

The standard example is when changes are made to the user interface. If the color of a box changes from one hue of blue to another, does that break the interface? It isn’t easy to imagine an automated way to check this without some artificial intelligence. However, a user interface expert or an end-user, or someone else can take a look at it and decide whether it is good enough or not. Perhaps the text in the box is no longer readable, so the expert would not accept it. Or perhaps it’s an improvement to the overall readability and aesthetics, so it’s accepted.

Get hands-on with 1200+ tech skills courses.