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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access