...

Text file src/github.com/emissary-ingress/emissary/v3/python/kat/README.md

Documentation: github.com/emissary-ingress/emissary/v3/python/kat

     1# kat
     2Kubernetes Acceptance Testing tool
     3
     4This is a testing tool that was originally developed for testing of
     5ambassador, but could potentially be useful for any sort of
     6application built on top of kubernetes.
     7
     8This tool streamlines the following process:
     9
    101. apply a bunch of yaml
    112. wait for services to spin up
    123. run a bunch of queries against the spun up APIs
    134. perform a bunch of assertions on those query results
    14
    15We originally built these sort of tests in a unit-testing style
    16framework where each test would proceed through this sequence on its
    17own. This turns out to be very slow since steps two and three are
    18highly synchronous/chatty.
    19
    20This test framework runs these sorts of tests several orders of
    21magnitude faster by a) applying the yaml for all tests in a single big
    22batch up front, and b) performing all the queries in step 3
    23asynchronously using a high performance client.
    24
    25Please see the [tutorial](docs/tutorial.rst) to get started.

View as plain text