summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 41ea57e..f84ee4e 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,7 @@ src/
pkginfo.rs .PKGINFO / .BUILDINFO parsing (no libalpm)
http/ tiny_http server: routes, render, auth, SSE log tail
ops.rs retention, metrics, VACUUM INTO backups
- shims/ the fake toolchain that makes the pipeline testable
+ shims/ the fake toolchain that makes the pipeline testable (test-support only)
testcorpus/ the fixture packages the tests build for real
templates/ askama templates, server-rendered
static/ app.css and one vendored htmx
@@ -90,6 +90,12 @@ process mid-step, and a separate test spawns the compiled binary and kills *it*,
then asserts a fresh process resumes from the step checkpoints with no duplicate
work and the old index still byte-identical.
+All of it is behind a `test-support` feature, which `cargo test` turns on through
+its dev-dependency on this crate and `cargo build` does not turn on at all: the
+shim binaries are not built, the `TestHooks` type has no fields, and the
+fault-injection branches in `publish` are not in the binary. `tests/production_surface.rs`
+fails if any of it leaks into the default build.
+
Some tests are gated on the host and skip themselves with a printed note rather
than failing: