run-unit-tests

Community

Run unit tests for API Service and analyzers.

Authoraalmada
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams automatically verify the correctness of the API Service and its analyzers by running targeted unit tests, preventing regressions early.

Core Features & Use Cases

  • Test Coverage: Executes unit tests for API handlers, validation logic, and domain components.
  • Analyzer Validation: Runs analyzer tests to validate Roslyn-based rules and code quality checks.
  • Use Case: When making changes to API services or analyzers, run the unit tests to ensure no regressions and confirm expected diagnostics.

Quick Start

  • Navigate to the test projects: tests/ApiService/BookStore.ApiService.UnitTests and tests/ApiService/BookStore.ApiService.Analyzers.UnitTests.
  • Run: dotnet test in each project, or run both in parallel with a combined command: dotnet test tests/ApiService/BookStore.ApiService.UnitTests/BookStore.ApiService.UnitTests.csproj && dotnet test tests/ApiService/BookStore.ApiService.Analyzers.UnitTests/BookStore.ApiService.Analyzers.UnitTests.csproj

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: run-unit-tests
Download link: https://github.com/aalmada/BookStore/archive/main.zip#run-unit-tests

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 223,000+ vetted skills library on demand.