package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewRegistry constructs a Registry.
# Structs
AttributeTestCase is a case specifying how an entity in the registry should be mapped.
ComparisonTest tests that the given entities order as expected given the attributes on which they are being compared.
ComparisonTests exercise the comparison logic of the rel package.
DatabaseTest tests a set of queries in the context of a database which has items specified in Data in a Database.
QueryTest is a subtest of a DatabaseTest which ensures that the results of a query match the expectations.
Registry stores entities by name.
Suite represents a set of tests for rel.
# Interfaces
RegistryYAMLEncoder is an interface which tests can use to override how entities get marshaled to yaml in the context of EncodeToYAML.
# Type aliases
AttributeTestCases exercise the mappings of fields to attribute values.