Categorygithub.com/cockroachdb/metamorphic
modulepackage
0.0.0-20231120015718-884f2746775a
Repository: https://github.com/cockroachdb/metamorphic.git
Documentation: pkg.go.dev

# README

metamorphic GoDoc

# Packages

Package seq provides facilities for creating and managing sequences of data.

# Functions

Generate generates a sequence of n items, calling fn to produce each item.
NewLogger constructs a new logger for running randomized tests.
Run runs the provided operations, using the provided initial state.
RunInTandem takes n initial states and runs the provided set of operations against each incrementally.
Step runs the provided operation against the provided state.

# Structs

ItemWeight holds an item and its corresponding weight.
Logger logs test operation's outputs and errors, maintaining a cumulative history of the test.

# Interfaces

Op represents a single operation within a metamorphic test.

# Type aliases

Weighted is a slice of items and their weights.