Documentation
¶
Overview ¶
Package proposalconformance validates ProposalRepository implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunDistributed ¶ added in v0.14.0
func RunDistributed(t *testing.T, newFixture DistributedFixture)
RunDistributed adds cross-client and cross-server-instance checks to the complete ProposalRepository contract.
Types ¶
type DistributedFactory ¶ added in v0.14.0
type DistributedFactory func(*testing.T) learning.ProposalRepository
DistributedFactory opens an independent client/server-instance view over one shared repository backend. Versions must remain opaque across every view.
type DistributedFixture ¶ added in v0.14.0
type DistributedFixture func(*testing.T) DistributedFactory
DistributedFixture creates one shared backend and returns a factory for independent views over it.
Click to show internal directories.
Click to hide internal directories.