add-test

Generate unit, component, API integration, validator, and frontend tests for .NET and SvelteKit projects.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill add-test-emmanuelkwaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-test
Source: https://github.com/Emmanuelkwaa/NetRockTemplate/tree/main/.claude/skills/add-test
Command: npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill add-test-emmanuelkwaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of writing various types of tests for your application, ensuring code quality and reliability.

Core Features & Use Cases

  • Unit Tests: For pure logic in backend layers (Shared, Domain, Application).
  • Component Tests: For backend services with mocked dependencies.
  • API Integration Tests: For testing the full HTTP pipeline, including routes, authentication, and validation.
  • Validator Tests: For testing FluentValidation rules without starting the test server.
  • Frontend Unit Tests: For utility functions and pure logic in the frontend.
  • Frontend Component Tests: For Svelte components with DOM interactions.
  • Use Case: After implementing a new API endpoint, use this Skill to generate the corresponding API integration tests, including setting up authentication and asserting response contracts.

Quick Start

Use the add-test skill to generate an API integration test for the 'OrdersController'.

Frequently Asked Questions about add-test

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

FAQPage Schema
How do I generate API integration tests for my .NET backend endpoints?

You can generate API integration tests for .NET backend endpoints by analyzing your HTTP pipeline, routes, and authentication to produce comprehensive test coverage that asserts response contracts.

What types of tests can I generate for SvelteKit frontend projects?

For SvelteKit frontend projects, you can generate frontend unit tests for utility functions and pure logic, as well as frontend component tests that simulate DOM interactions for Svelte components.

Can I generate unit tests for pure backend logic without starting the test server?

Yes, you can generate unit tests for pure logic in backend layers like Shared, Domain, and Application, and generate validator tests for FluentValidation rules without starting the test server.

Does this test generation approach support component tests with mocked dependencies?

Yes, the test generation approach supports creating component tests for backend services by providing specific instructions for mocking dependencies and defining assertions.

How do I ensure code quality through comprehensive test coverage after implementing new features?

You ensure code quality through comprehensive test coverage by generating unit, component, API integration, and frontend tests immediately after implementing new features to verify application reliability.