auto-test-guard

Community

Strengthen tests with high-signal guardrails.

Authorpear-studio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It reduces test quality drift by preventing weak assertions, redundant cases, excessive mocking, and low-value coverage that increase maintenance cost and hide real regressions.

Core Features & Use Cases

  • Behavior-focused test design: Write tests that express contracts and user-visible outcomes instead of implementation steps.
  • High-signal regression coverage: Add minimal regression tests when fixing bugs to directly protect the previously broken behavior.
  • Stability-aware isolation: Avoid unstable dependencies (random, time, network, filesystem, database, LLM) unless explicitly handled with isolation markers or clear scope.

Quick Start

When adding or modifying a test, follow the guard’s checklist to ensure the test protects a specific behavior contract with meaningful assertions and appropriate isolation.

Dependency Matrix

Required Modules

None required

Components

Standard package

đŸ’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auto-test-guard
Download link: https://github.com/pear-studio/nonebot-dicepp/archive/main.zip#auto-test-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.