Tests Generator
/install axodus-test-generator
SKILL: test-generator
Purpose
Generate deterministic unit/integration tests that protect behavior and enable safe refactors.
When to Use
- A feature needs coverage.
- A bug fix needs a regression test.
- You want characterization tests before refactoring.
Inputs
target(required, string): function/module/endpoint/contract behavior to test.test_type(optional, enum:unit|integration|e2e).framework(optional, string): e.g.,pytest,jest,vitest,foundry,hardhat.constraints(optional, string[]): no network, deterministic time, limited mocks, etc.
Steps
- Identify observable behaviors and edge cases.
- Decide test boundaries:
- unit: pure logic
- integration: DB/service boundary
- Create fixtures:
- deterministic data
- stable clocks/UUIDs (mock only when required)
- Write tests:
- happy path
- failure paths
- security/validation checks (where applicable)
- Run tests and iterate until they are stable.
Validation
- Tests are deterministic (no flaky time/network dependencies).
- Tests fail before the fix (for regressions) and pass after.
- Coverage targets the acceptance criteria, not implementation details.
Output
- Test files added/changed
- How to run tests
- Notes on fixtures/mocks used
Safety Rules
- Do not add tests that require real credentials or real external services by default.
- Avoid snapshot tests for highly variable outputs unless stabilized.
Example
Bug: “User creation accepts invalid email.â€
Output: a failing test asserting 400 on invalid input, then passes after fix.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install axodus-test-generator - After installation, invoke the skill by name or use
/axodus-test-generator - Provide required inputs per the skill's parameter spec and get structured output
What is Tests Generator?
Generate deterministic unit/integration tests for critical behaviors. It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.
How do I install Tests Generator?
Run "/install axodus-test-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Tests Generator free?
Yes, Tests Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Tests Generator support?
Tests Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Tests Generator?
It is built and maintained by Mauricio Z. (@mzfshark); the current version is v1.0.0.