csharp-mstest

Community

Master MSTest for robust C# unit tests.

Author74nu5
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you write effective unit tests in C# using MSTest, ensuring your code is reliable and maintainable by leveraging modern assertion APIs and best practices.

Core Features & Use Cases

  • Modern Assertions: Utilize powerful and expressive assertion methods for various checks (equality, exceptions, collections, strings, types).
  • Data-Driven Tests: Easily create parameterized tests using DataRow and DynamicData for comprehensive test coverage.
  • Test Lifecycle Management: Understand and implement proper setup and teardown for tests using constructors and attributes.
  • Use Case: You need to write unit tests for a new C# class that performs calculations. This Skill will guide you on structuring your test class, writing individual test methods with clear assertions, and parameterizing tests for different input values.

Quick Start

Use the csharp-mstest skill to generate a basic MSTest unit test class for a C# method.

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: csharp-mstest
Download link: https://github.com/74nu5/Narratum/archive/main.zip#csharp-mstest

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.