Documentation
¶
Overview ¶
package: tests / conformance type: test job: small error-checking helper shared across the integration suite limits: no test logic itself (-> tests/scenarios.go, tests/integration.go)
package: tests / conformance type: test job: public IntegrationTest entry point + a per-scenario fixture that drives the reference dev Sequencer over a pluggable storage backend limits: no scenario bodies here; those live alongside (-> tests/scenarios.go)
Package tests is the public conformance suite: a backend (a Universe) proves it conforms to the Ranke-Graph ADT by running IntegrationTest, which stands the dev Sequencer over it (its bookmark list in an in-process 𝒰_hist) and validates every closure it reads back.
package: tests / conformance type: test job: multi-stage scenario stories that write through the Sequencer, re-read via immutable snapshots, and verify survival limits: no public entry point; driven by IntegrationTest (-> tests/integration.go)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
package: tests/backends / integration type: tool job: obtain an Azure Blob store for the matrix — one named by RANKE_AZURE_ENDPOINT (services/azurite.sh, a CI service container), else an ephemeral Azurite podman pod limits: needs RANKE_AZURE_ENDPOINT or podman, else ErrUnavailable; tears down only the blob container it created (-> minio_pod for the S3 half)
|
package: tests/backends / integration type: tool job: obtain an Azure Blob store for the matrix — one named by RANKE_AZURE_ENDPOINT (services/azurite.sh, a CI service container), else an ephemeral Azurite podman pod limits: needs RANKE_AZURE_ENDPOINT or podman, else ErrUnavailable; tears down only the blob container it created (-> minio_pod for the S3 half) |
|
package: tests/generator / testkit type: tool job: Generate — build a deterministic kitchen-sink Ranke-Archive from a Spec, driving the dev Sequencer's write path; return a Manifest naming every corner limits: builds via the public ranke API + the dev testkit adapters; the caller supplies the Universe (-> adapter); asserts nothing (-> tests).
|
package: tests/generator / testkit type: tool job: Generate — build a deterministic kitchen-sink Ranke-Archive from a Spec, driving the dev Sequencer's write path; return a Manifest naming every corner limits: builds via the public ranke API + the dev testkit adapters; the caller supplies the Universe (-> adapter); asserts nothing (-> tests). |
|
package: tests/helpers / testkit type: tool job: shared helpers for driving a ranke.Sequencer from tests and test tooling limits: the contract only — no fixtures, no assertions, no backend knowledge (-> tests, tests/backends)
|
package: tests/helpers / testkit type: tool job: shared helpers for driving a ranke.Sequencer from tests and test tooling limits: the contract only — no fixtures, no assertions, no backend knowledge (-> tests, tests/backends) |
|
package: tests/matrix / conformance type: test job: the cross-backend agreement matrix — build one deterministic archive into every available backend, run the shared RQL corpus against each, and assert every backend's answer matches the reference's limits: correctness only, never timing (-> tests/performance); it asks whether an answer is right, never how a backend produced it — routing, lowering, and cache tiers are the backend's business
|
package: tests/matrix / conformance type: test job: the cross-backend agreement matrix — build one deterministic archive into every available backend, run the shared RQL corpus against each, and assert every backend's answer matches the reference's limits: correctness only, never timing (-> tests/performance); it asks whether an answer is right, never how a backend produced it — routing, lowering, and cache tiers are the backend's business |
|
package: tests/performance / integration type: tool job: the reusable performance-matrix harness — generate a deterministic size-N archive into each backend and time the chapters (write / verify / random access), reporting per-step latency distributions limits: decoupled from the testing package so both the _test.go entrypoint and cmd/test can drive it; timing only — the backend rows come from tests/backends and correctness belongs to tests/matrix
|
package: tests/performance / integration type: tool job: the reusable performance-matrix harness — generate a deterministic size-N archive into each backend and time the chapters (write / verify / random access), reporting per-step latency distributions limits: decoupled from the testing package so both the _test.go entrypoint and cmd/test can drive it; timing only — the backend rows come from tests/backends and correctness belongs to tests/matrix |
|
package: tests/rql / integration type: tool job: the shared RQL corpus — a broad set covering each axis of the read language (traversal, filter, shape, order, bound) for the conformance matrix, plus the small subset the timing harness measures limits: queries and their names only; executing them and comparing answers live alongside (-> run.go), and the backend rows come from tests/backends
|
package: tests/rql / integration type: tool job: the shared RQL corpus — a broad set covering each axis of the read language (traversal, filter, shape, order, bound) for the conformance matrix, plus the small subset the timing harness measures limits: queries and their names only; executing them and comparing answers live alongside (-> run.go), and the backend rows come from tests/backends |