testgen

Generate Rust WASM test harnesses with fixture and replay patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/augentic/plugins --skill testgen-augentic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testgen
Source: https://github.com/augentic/plugins/tree/main/plugins/realtime/skills/testgen
Command: npx skills add https://github.com/augentic/plugins --skill testgen-augentic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams rapidly scaffold structured test harnesses for Rust WASM components, reducing boilerplate for unit tests, fixtures, and replayer-style testing.

Core Features & Use Cases

  • Scaffold test harness templates in the component's tests/ directory, including optional fixture data and test runners for replayer patterns.
  • Support two testing patterns: Simple Fixture Pattern and Replayer Pattern, enabling quick start and gradual migration.
  • Quick Start: create starter tests and data directories, then run cargo test to validate your setup.

Quick Start

Use the testgen skill to scaffold a new test harness inside a Rust WASM crate by placing SKILL.md in plugins/realtime/skills/testgen and running the Skill activation to generate starter tests in tests/ and data/ directories.

Frequently Asked Questions about testgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a test harness for Rust WASM components?

To generate a test harness for Rust WASM components, this Skill scaffolds starter tests, fixture data, and test runners in the component's tests/ and data/ directories, enabling immediate cargo test validation.

What is the difference between Simple Fixture and Replayer testing patterns?

The Simple Fixture pattern provides basic starter tests and data directories, while the Replayer pattern scaffolds test runners and fixture data to replay interactions, allowing gradual migration from simple to complex testing workflows.

Can I use cargo test to validate generated Rust WASM fixtures?

Yes, cargo test validates generated Rust WASM fixtures by running the scaffolded test runners and starter tests in the tests/ directory after the Skill generates the necessary fixture data and harness templates.

What's the best way to reduce boilerplate when scaffolding Rust WASM tests?

The best way to reduce boilerplate when scaffolding Rust WASM tests is using this Skill to automatically generate structured test harness templates, fixture data, and replayer test runners integrated with the augentic-test framework.

Do I need the augentic-test framework to scaffold Rust WASM test harnesses?

Yes, the augentic-test framework is required because the Skill integrates directly with it to scaffold starter tests, fixture data directories, and test runners for both Simple Fixture and Replayer patterns in Rust crates.