Documentation
¶
Overview ¶
Package temporalguide runs the published temporal examples through test-owned query adapters. It contains no database implementation or production routing.
Index ¶
- func Contracts(t *testing.T, run Runner)
- func CostExamples(t *testing.T, run Runner)
- func EpochBounds(t *testing.T, run Runner)
- func Example(t testing.TB, guide, name string) string
- func GenericLedger(t *testing.T, run Runner)
- func History(t *testing.T, run Runner)
- func Ownership(t *testing.T, run Runner)
- func OwnershipScript(t *testing.T, run Runner)
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contracts ¶
Contracts covers both published block examples and the guarantees implied by their mixed native and boolean entries.
func CostExamples ¶
CostExamples verifies the declarations used to explain index/scan costs. The cost claims themselves require the separately scoped benchmark.
func EpochBounds ¶
EpochBounds qualifies the guide's optional shape contract, rather than pretending that a no-overlap constraint alone validates every property type.
func Example ¶
Example reads a named Cypher fence verbatim. The caller's package working directory must be two levels below the repository root (pkg/cypher, bolt or server). A removed, renamed or duplicated example fails its consuming test.
func GenericLedger ¶
GenericLedger exercises every executable example in the optional fact model.
func History ¶
History executes the history guide's actual setup, update and parameterized historical query, demonstrating that the commit cutoff is not an epoch bound.
func Ownership ¶
Ownership exercises the published relationship pattern over the caller's executor, HTTP or Bolt adapter. All fixtures are owned by the caller.
func OwnershipScript ¶
OwnershipScript executes the downloadable example as source, and asserts its final effects independently of the individual guide-fence scenarios.