Kubernetes Acceptance Testing tool
This is a testing tool that was originally developed for testing of ambassador, but could potentially be useful for any sort of application built on top of kubernetes.
This tool streamlines the following process:
- apply a bunch of yaml
- wait for services to spin up
- run a bunch of queries against the spun up APIs
- perform a bunch of assertions on those query results
We originally built these sort of tests in a unit-testing style framework where each test would proceed through this sequence on its own. This turns out to be very slow since steps two and three are highly synchronous/chatty.
This test framework runs these sorts of tests several orders of magnitude faster by a) applying the yaml for all tests in a single big batch up front, and b) performing all the queries in step 3 asynchronously using a high performance client.
Please see the tutorial to get started.