test-reviewing

Execute generated unit tests and validate London School pattern adherence.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill test-reviewing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-reviewing
Source: https://github.com/3balljugglerYu/ai_coordinate/tree/main/.agents/skills/test-reviewing
Command: npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill test-reviewing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the review of generated tests, ensuring they are high-quality, compliant with standards like the London School pattern, and correctly configured before proceeding to further verification steps.

Core Features & Use Cases

  • Test Execution: Runs generated tests to check for immediate failures.
  • Structure Analysis: Validates adherence to the London School pattern (mock usage, no I/O, isolation, naming conventions, spec tags).
  • Mock Configuration Validation: Verifies that mocks are correctly set up with appropriate stubs, types, and dummy values.
  • Failure Categorization: Classifies test failures (Structural, Mock, Assertion, Runtime) to guide the fixing process.
  • Use Case: After a new feature's tests are generated, this Skill acts as a gatekeeper, confirming the tests run, are well-structured, and properly mocked before they are considered for coverage verification.

Quick Start

Use the test-reviewing skill to review tests for the LiveViewRepository class.

Frequently Asked Questions about test-reviewing

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

FAQPage Schema
How do I validate unit test quality and check for London School pattern compliance?

To validate unit test quality and check London School pattern compliance, execute generated tests to verify mock configurations, confirm no I/O usage, and categorize failures into structural, mock, assertion, or runtime classes.

What is the best way to review mock configurations in generated unit tests?

The best way to review mock configurations in unit tests is to validate that mocks use appropriate stubs, verify types match expected interfaces, and ensure dummy values are correctly configured before running specification verification.

How do I categorize unit test failures to guide the fixing process?

You categorize unit test failures by executing the tests and classifying errors into structural, mock, assertion, or runtime categories, which directly guides the targeted fixing process for each failed test.

Can I use automated test review as a quality gate between test generation and specification verification?

Yes, you can use automated test review as a quality gate between test generation and specification verification by executing tests, analyzing structural adherence, and validating mocks before proceeding to coverage checks.

Why does my generated unit test fail during structure analysis?

Generated unit tests fail structure analysis when they violate London School pattern rules, such as improper mock usage, performing I/O operations, lacking isolation, or failing to meet naming conventions and spec tag requirements.

Do I need to generate unit tests before running an automated test review?

Yes, you need to generate unit tests before running an automated test review, because the review process executes the generated tests, analyzes their structure, and validates mock configurations to ensure robustness.