assertion-quality

Community

Expose shallow or missing test assertions.

Author1k-off
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you detect when your .NET tests are giving false confidence by using shallow, trivial, missing, or tautological assertions instead of verifying real behavior.

Core Features & Use Cases

  • Assertion diversity auditing: Quantifies how many distinct assertion categories your tests use, and flags over-reliance on a single type (e.g., only equality).
  • Zero/trivial assertion detection: Identifies tests that make no assertions or only trivial ones like Assert.IsNotNull as the only check.
  • Quality risk finding: Flags tautological/self-referential assertions and highlights missing negative, exception, state/side-effect, or deep structural verification.
  • Framework coverage: Works across common .NET test frameworks (MSTest, xUnit, NUnit, TUnit).

Quick Start

Ask the skill to analyze your test project for assertion variety, then return a metrics report with recommendations for strengthening coverage of correctness behavior.

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: assertion-quality
Download link: https://github.com/1k-off/umbraco-observability-playground/archive/main.zip#assertion-quality

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.