effect-arbitrary
Installation
SKILL.md
Effect Arbitrary
Generate values from an Effect Schema.
import { Schema } from "effect"
import { FastCheck } from "effect/testing"
const samples = FastCheck.sample(Schema.toArbitrary(schema)(FastCheck), 10)
Default-export the schema from a module. Run the CLI:
andrue-cli generate <schema-module> --count 10