diff --git a/AGENTS.md b/AGENTS.md index 8045ed9ba..ef6a2abf4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -55,7 +55,7 @@ limbo/ ├── testing/ # simulator/, concurrent-simulator/, differential-oracle/ ├── sync/ # engine/, sdk-kit/ (Turso Cloud sync) ├── sdk-kit/ # High-level SDK abstraction -└── tools/ # dbhash utility +└── tools/ # dbhash utility, thesis (local Antithesis runner) ``` ## Where to Look diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 88cf3a2e5..ad9aa822a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -443,6 +443,15 @@ testing (DST) tool for the following: - Discovering bugs that the DST did not catch (and improve the DST) - Discovering bugs that the DST does not cover (for example, non-simulated I/O) +The test templates live in `testing/antithesis/`. You can run one locally, without an Antithesis account, with +[`thesis`](tools/thesis): + +```bash +uv run --group antithesis thesis run testing/antithesis/stress-composer --seed 42 +``` + +See [`testing/antithesis/README.md`](testing/antithesis/README.md#running-a-template-locally) for details. + If you have an Antithesis account, you first need to configure some environment variables: diff --git a/pyproject.toml b/pyproject.toml index 27c8142e8..f0f401c06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,11 +10,17 @@ version = "0.1.0" [tool.uv] package = false +[dependency-groups] +# Runs the Antithesis test templates locally: uv run --group antithesis thesis run testing/antithesis/