Documentation
¶
Overview ¶
Package taskstoretest holds the shared TaskStore conformance suite (RFC §8.5, CLAUDE.md §9). Every TaskStore driver must pass RunConformance — the in-memory stub, the durable Store-backed facade over the in-memory Store, and the durable facade over the modernc.org/sqlite Store. A new TaskStore guarantee is added here once and proven against every backing, never bolted onto one driver (D-070).
A driver's test wires the suite in with a few lines:
func TestConformance(t *testing.T) {
taskstoretest.RunConformance(t, func() tasks.TaskStore { return tasks.NewInMemoryStore() })
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cases ¶
func Cases() int
Cases returns the number of conformance cases — used by the harness self-guard to assert the suite is non-empty.
func RunConformance ¶
RunConformance exercises every guarantee of the TaskStore seam against a driver. open must return a freshly-constructed, empty TaskStore on each call.