Acceptance testing

We have gone over acceptance tests throughout the book but, to reiterate, an acceptance test is a formal verification of the behavior of an application. Acceptance tests will typically be the last types of tests that you will write in a CI/CD pipeline as they are longer running and more involved in terms of the verification aspect of acceptance tests as a whole. 

Acceptance tests can also serve as a regression test suite since they provide assurances that the application is behaving as it should. There are some libraries that use a formal domain-specific language called Gherkin (https://docs.cucumber.io/gherkin/reference/). This has specific files that write down what is called acceptance criteria. These stipulate what ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.