Documentation
¶
Overview ¶
Package plugintest provides the public backend conformance suite for Ridu plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompatibilityCase ¶
CompatibilityCase is one expected descriptor result in a plugin's cross-release test matrix.
type Fixture ¶
type Fixture struct {
Plugin ridu.Plugin
Fields []field.Definition
// ValidData and InvalidData opt into runtime storage, local API, REST, and
// validator conformance. InvalidData must be rejected as validation.
ValidData store.Values
InvalidData store.Values
// Compatibility records the Ridu releases the plugin author promises to
// test. Published plugin packages should retain old rows as they release.
Compatibility []CompatibilityCase
}
Fixture describes the smallest real application surface needed to exercise a compiled plugin's manifest and generation contracts.
Click to show internal directories.
Click to hide internal directories.