gate-tests

Audit automated test quality for assertion strength, boundary coverage, mock discipline, and error paths.

9|1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Obsidian-Owl/specwright --skill gate-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gate-tests
Source: https://github.com/Obsidian-Owl/specwright/tree/main/skills/gate-tests
Command: npx skills add https://github.com/Obsidian-Owl/specwright --skill gate-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical issue of unreliable test suites, where passing tests provide a false sense of security because they don't effectively catch bugs. It ensures that tests are robust and meaningful.

Core Features & Use Cases

  • Test Quality Auditing: Analyzes tests for assertion strength, boundary coverage, mock discipline, and error path testing.
  • Adversarial Analysis: Delegates to a specialized agent to rigorously challenge the test suite's effectiveness.
  • Use Case: Before merging a significant code change, use this Skill to verify that the accompanying tests are not superficial and will actually detect regressions or critical failures.

Quick Start

Run the gate-tests skill to audit the quality of tests for the current work unit.

Frequently Asked Questions about gate-tests

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

FAQPage Schema
How do I audit automated test quality for assertion strength and boundary coverage?

To audit automated test quality, you analyze test files for assertion strength, boundary coverage, mock discipline, and error path testing. This process delegates adversarial analysis to a dedicated agent to ensure tests provide genuine confidence in code functionality.

What is adversarial analysis in test automation and when do I need it?

Adversarial analysis in test automation rigorously challenges the test suite's effectiveness to catch unreliable tests. You need this verification before merging significant code changes to ensure tests are not superficial and will actually detect regressions or critical failures.

Why does my test suite pass but still fail to catch code regressions?

Passing test suites fail to catch regressions due to weak assertions, poor boundary coverage, and inadequate error path testing. Auditing test quality addresses this by verifying that tests are robust, meaningful, and effective at detecting actual bugs.

Do I need project configuration and test files to review test quality?

Yes, you need access to project configuration and test files for comprehensive review. The audit requires these inputs to effectively analyze mock discipline, assertion strength, and boundary coverage across the codebase.

What's the best way to verify my tests are not superficial before a merge?

The best way to verify tests are not superficial before a merge is running an automated test quality audit. This evaluates assertion strength and error path testing, delegating adversarial analysis to ensure the suite detects regressions and provides genuine confidence.