This documentation is for Wanaku contributors. It explains how to run and write the tests that check Wanaku as a system: the components, deployed together, doing real work.
The repository has two kinds of tests. The integration tests are Java tests that start the Wanaku components as real processes. They run in GitHub CI for each Wanaku pull request, and the results come back on the pull request. The test plans are Markdown plans that Midnight Saci runs end to end in real environments, for example OpenShift. Both kinds use the fixtures and mocks of this repository.
| You want to | Start with | Then read |
|---|---|---|
| Check that your Wanaku pull request breaks nothing | Test a Wanaku pull request | Run in GitHub CI |
| Reproduce a CI failure on your machine | Run locally | Debug with external instances, Troubleshooting |
| Add a test for a new server feature | Write an integration test | Test framework, Fixtures and mocks |
| Test a release on OpenShift end to end | About the test plans | Run a test plan, Test plan catalog |
| Add a test plan | Write a test plan | Common procedures, Credentials |
| Measure the MCP request path | Run load tests | Test MCP server |
Open an issue in wanaku-ai/wanaku-tests for a problem with the tests, and in wanaku-ai/wanaku for a problem with Wanaku itself.