Skip to main content
Glama

edict_generate_tests

Generate structured test cases automatically from Z3-verified contracts, extracting boundary values and counterexamples to create regression tests without manual effort.

Instructions

Auto-generate structured test cases from Z3-verified contracts. For proven contracts, extracts boundary input values and expected outputs from Z3 models. For failing contracts, extracts counterexample inputs as regression tests. Returns an array of GeneratedTest objects — each with function name, input values, expected output, and source (boundary/counterexample). Use this to get free tests from formal specifications without writing them manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
astYesThe Edict program AST (module) — same format as edict_check

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sowiedu/Edict'

If you have feedback or need assistance with the MCP directory API, please join our Discord server