create-tests
CommunityGenerate xUnit tests with Moq.
Authorchangjian-wang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of unit tests for your C# code, ensuring better code quality and maintainability by following established testing patterns.
Core Features & Use Cases
- xUnit Test Generation: Creates test classes using the xUnit framework.
- Moq Integration: Implements mocking for dependencies using Moq.
- UnitOfWork Pattern: Demonstrates correct mocking of the UnitOfWork pattern for service tests.
- Controller Testing: Provides templates for testing API controllers.
- Use Case: When developing a new feature, use this Skill to quickly scaffold comprehensive unit tests for your services and controllers, adhering to best practices.
Quick Start
Use the create-tests skill to generate unit tests for the UserService class.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: create-tests Download link: https://github.com/changjian-wang/dawning/archive/main.zip#create-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.