wanaku-tests

Run a test plan

This page tells you how to run a plan of this repository with Midnight Saci. For the installation of Saci, read the Saci quickstart.

Prerequisites

Configure the backend

Start from plans/saci.example.yaml. It defines:

Copy the file, change it for your setup, and start the backend:

saci backend start --config saci.yaml

Set the credentials

The plans do not contain credentials. Export the values that a plan needs before you start the backend, or give them as env: parameters of an environment. See Credentials.

Prepare OpenShift

The OpenShift plans use a dedicated service account, not your own credentials. Create it once as a cluster admin, and save its token in OPENSHIFT_SA_TOKEN. The steps are in plans/setup/service-account-setup.md.

Run a plan

Run a plan in an environment, and follow it until it ends:

saci run plans/mcp-cli-commands.md --environment builtin --follow

Then read the result:

saci report <run-id>

The report shows each unit, its attempts, its criteria and the evidence. For more commands, read Run and follow plans and Investigate failures.

The Test plan catalog shows the environment that each plan needs.

Next steps