Functional test pros and cons

The pros of functional testing are the following:

  • It can validate semi-real users' requests, meaning requests that are very close to what actual user requests look like.
  • It can validate the general functionality of a service/application.
  • It is not specific to the internal functions of an application.
  • It can validate new releases and verify whether specific client versions are still compatible.

The cons of functional testing are the following:

  • It does not help much with finding errors.
  • It may interfere with existing data when testing database inserts.
  • Problems may not be related to the current test.

Functional tests struggle to pin down the issues rather than helping you to reproduce it. Since functional tests ...

Get Hands-On Swift 5 Microservices Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.