View Source API Reference myrmidex v0.3.0

Modules

A light wrapper around StreamData. Generate any data on the fly, or model the underlying types and common fields of domain-specific structs or schemas, optionally using custom generators. Aimed at speeding up test setup, and maximizing reusability of factory data throughout testing and development.

Defines a behaviour and utility for associating GeneratorSchemas with a datasource. Typically used in your test support files as the definitive source for creating streams that make sense within your domain: i.e. your schemas.

A tuple representing a struct or map field with type information and, depending on the source, a represenative term.

Behaviour defining the contract for a GeneratorSchema module.

The default/fallback implementation of a Myrmidex.GeneratorSchema.

Custom and composed generators for use in generator schema modules. These generators cover many common cases you might encounter in your codebase. E.g., handling primary key generation