Rechercher

PythonReactSEOPDF
OpenClaw

Test Generator

Automated test case generator. Unit tests, integration tests, end-to-end tests, mock objects, test fixtures, coverage analysis, edge case generation, performance benchmarks. Supports Python, JavaScript, Go. testing, tdd, pytest, jest, vitest, mocha, developer-tools.

ckchzh0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install ckchzh/test-generator

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Test Generator — Automated Test Case Generation

Generate high-quality test code in seconds, stop writing boilerplate by hand

Why Use This?

  • Writing tests is tedious → auto-generate templates, fill in business logic
  • Missing edge cases → edge command systematically generates boundary tests
  • Mock setup is verbose → standardized mock patterns, ready to copy-paste

Command Reference

unit <lang> <function>       → Unit test template
integration <lang> <module>  → Integration test template
e2e <lang> <flow>            → End-to-end test flow
mock <lang> <target>         → Mock/Stub objects
fixture <lang> <type>        → Test fixtures
coverage <lang>              → Coverage config and tips
edge <type> <range>          → Edge case generation
benchmark <lang> <target>    → Performance benchmark test

Supported Frameworks

Language Test Framework
Python pytest, unittest
JavaScript Jest, Mocha, Vitest
Go testing, testify
Bash bats

Best Practice

Name tests as test_<feature>_<scenario>_<expected> for instant readability.

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/ckchzh/test-generator
Version
—
Commit
8baca051a52f55a7302c0733c6151cb852312cf6
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Test Generator — Automated Test Case Generation

> Generate high-quality test code in seconds, stop writing boilerplate by hand

## Why Use This?

- Writing tests is tedious → auto-generate templates, fill in business logic
- Missing edge cases → `edge` command systematically generates boundary tests
- Mock setup is verbose → standardized mock patterns, ready to copy-paste

## Command Reference

```
unit <lang> <function>       → Unit test template
integration <lang> <module>  → Integration test template
e2e <lang> <flow>            → End-to-end test flow
mock <lang> <target>         → Mock/Stub objects
fixture <lang> <type>        → Test fixtures
coverage <lang>              → Coverage config and tips
edge <type> <range>          → Edge case generation
benchmark <lang> <target>    → Performance benchmark test
```

## Supported Frameworks

| Language | Test Framework |
|----------|---------------|
| Python | pytest, unittest |
| JavaScript | Jest, Mocha, Vitest |
| Go | testing, testify |
| Bash | bats |

## Best Practice

Name tests as `test_<feature>_<scenario>_<expected>` for instant readability.

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.