Usage guide

Each file in tests/ is one test. Run iamuzorr/yaatt with that folder mounted. YAATT sends the requests from top to bottom, remembers each reply by name, then runs the assertions you listed.

  1. Getting started — Pull the Docker image, add a YAML test, lint it in your editor, and run it.
  2. Test files — What a test file looks like, which fields you need, and the order requests run.
  3. Requests — How to send GET, POST, and other calls, plus pauses between them.
  4. Placeholders — Reuse a value from an earlier reply, from the environment, or generate a new one.
  5. Assertions — The assertions you can write, and how to point them at a response.
  6. Docker and CI — A Makefile for the published image, environment variables, and GitHub Actions or Jenkins.
  7. Limits — Things YAATT does not do, so you are not surprised later.