3. Modul: Approval Testing for Scripts, APIs and Microservices
Approval Testing is often used for tests that aren’t unit tests. The focus in this module is on techniques for checking the functionality of a system or sub-system. In this case the test code is not necessarily written in the same programming language as the code under test. We’ll learn about how Approval testing can be used in situations that often come up when you’re working in a complex DevOps environment with multiple Microservices and supporting infrastructure.
We will go through examples of how to test:
- A command-line script
- One microservice via a REST API
- A simple HTML user interface
- A system made up of microservices
We will work in an ensemble and explore techniques important for Approval testing like stubbing dependencies and designing printers. We will write tests using the tool “TextTest” (link to http://texttest.org)