test-tagging

Tag tests in MSTest, NUnit, and xUnit with predefined trait values.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill test-tagging-ojrojas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-tagging
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/dotnet-test/skills/test-tagging
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill test-tagging-ojrojas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Test Tagging enhances your test suite's categorization, making it easier to audit and manage the diversity and coverage of your test cases.

Core Features & Use Cases

  • Categorize Tests: Standardize traits for easy test organization and categorization.
  • Auditing Test suites: Assess the balance of positive vs. negative, critical-path, smoke tests, and more.
  • Generate Reports: Summarize the trait distribution across the test suite.
  • Use Cases: Perfect for projects seeking clarity on test mix and improving the overall coverage quality.

Quick Start

Annotate tests with standardized traits using 'test-tagging <test-path> <scope>'.

Frequently Asked Questions about test-tagging

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

FAQPage Schema
How do I categorize and tag test cases in xUnit or NUnit for better suite management?

Test categorization tags test cases in frameworks like xUnit and NUnit using predefined traits such as positive, negative, and boundary. This standardizes your test suite organization to make auditing and managing test diversity significantly easier.

What is the best way to audit the balance of positive vs negative tests in a large suite?

Auditing test suites involves assessing the distribution of standardized trait values like positive, negative, and critical-path tests. By applying these categorical tags to your test cases, you can generate reports summarizing trait coverage and identify missing scenarios.

Can I classify MSTest cases using custom traits like smoke or boundary tests?

Yes, you can classify MSTest cases by annotating them with predefined trait values including smoke, boundary, and critical-path. This allows developers to standardize test categorization across various frameworks for clearer coverage visibility.

How do I generate a summary report of test trait distribution across my project?

To generate a report of test trait distribution, annotate your test cases with standardized traits and run the tagging utility against your test path. This summarizes the categorized traits to help you assess overall test mix and coverage quality.

Does test tagging work with multiple .NET test frameworks simultaneously?

Test tagging supports identifying and tagging tests across various frameworks including MSTest, NUnit, and xUnit. It applies predefined trait values uniformly to classify test cases, ensuring consistent categorization regardless of the specific testing framework used.