yweb-test-quality

Review pytest tests for authenticity and diagnose failures.

3|2|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/yafo-ai/yweb-core --skill yweb-test-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yweb-test-quality
Source: https://github.com/yafo-ai/yweb-core/tree/main/.cursor/skills/yweb-test-quality
Command: npx skills add https://github.com/yafo-ai/yweb-core --skill yweb-test-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures your tests are meaningful and provides a structured approach to debugging failures, preventing wasted effort on "fake" tests or incorrect fixes.

Core Features & Use Cases

  • Test Authenticity Review: Identifies and helps eliminate "happy path," shallow, implementation-driven, or tautological tests.
  • Failure Triage: Guides you through diagnosing whether a test failure indicates a bug in the code or an issue with the test itself.
  • Use Case: Before merging a pull request, use this Skill to review the test suite for quality and to systematically debug any failing tests, ensuring robust code.

Quick Start

Use the yweb-test-quality skill to review the provided test suite for authenticity and to diagnose any failures.

Frequently Asked Questions about yweb-test-quality

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

FAQPage Schema
How do I identify tautological or shallow pytest tests in my codebase?

To identify tautological or shallow pytest tests, review the test suite for authenticity by checking if tests only cover happy paths or mirror implementation details. This skill flags false positives and guides refactoring to ensure tests validate actual behavior.

What is the best way to debug a failing pytest test without fixing the wrong issue?

The best way to debug a failing pytest test is using a diagnose-then-code-fix workflow to triage the failure. This approach systematically determines whether the failure indicates a code bug or an issue with the test itself.

Why does my test pass but fail to catch actual bugs in the code?

Your test passes but fails to catch bugs because it likely contains implementation-driven or happy path assertions that create false positives. Reviewing test authenticity helps eliminate these shallow tests and ensures assertions validate real logic.

How do I review pytest tests for authenticity before merging a pull request?

To review pytest tests for authenticity before merging, evaluate the suite to eliminate happy path, shallow, implementation-driven, or tautological tests. This ensures robust code by preventing fake tests from masking real failures.

When do I need failure analysis for pytest test failures?

You need failure analysis for pytest test failures when diagnosing whether a failure indicates a bug in the code or an issue with the test itself. This triage prevents wasted effort on incorrect fixes during debugging.