Skip to content
cccskills
FreePublished on GitHub

test

Use for .NET test design and validation with xUnit v3, Moq, focused regression tests, command tests, service/manager tests, code generation tests, Roslyn helper tests, MiniDb isolation, HTTP stubs, temp directories, and deciding whether to run targeted tests or builds.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Test And Validation

Test Placement

  • CLI behavior: tests/StudioMod.Tests/Commands
  • Core services: tests/StudioMod.Tests/Services
  • Managers and MiniDb behavior: tests/StudioMod.Tests/Managers
  • Code generation and OpenAPI/request clients: tests/StudioMod.Tests/Generate
  • Roslyn, parsing, conversion, assembly, and utilities: tests/StudioMod.Tests/Helper
  • Shared model behavior: tests/StudioMod.Tests/Models

Conventions

  • Use xUnit v3 [Fact], [Theory], and [InlineData].
  • Use Moq when simple stubs are not enough.
  • Stub HTTP with local HttpMessageHandler; tests must not hit live endpoints.
  • Use unique temp directories for file-system tests and restore current directory in finally.
  • Isolate MiniDb paths and avoid shared persistent state.
  • Keep tests focused on observable behavior and regression risk.
  • For generated code, assert meaningful snippets or structural markers instead of large snapshots unless exact text is the contract.

Validation Policy

  • Metadata-only changes usually need path/frontmatter inspection, not a build.
  • Narrow behavior changes should get targeted tests for the affected area.
  • Broad cross-layer changes may justify targeted tests plus diagnostics or a build.
  • Avoid full solution builds unless the user asks or risk justifies the time.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

blazor

Free

Use for Blazor Server development with Fluent UI Blazor, Razor components, layouts, pages, scoped UI services, culture switching, localization, forms, loading/empty/error states, and Studio-style dashboard workflows.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

cli

Free

Use for .NET command-line tool development with Spectre.Console/Spectre.Console.Cli, Microsoft.Extensions.Hosting, dependency injection, localized help text, command settings, aliases, examples, terminal output, exit codes, and stdio-safe command paths.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

docs

Free

Use for Perigon documentation work across this workspace, especially Perigon.docs/Content/docs/Perigon bilingual and versioned docs, syncing zh-CN and en-US content, updating docs from Perigon.CLI, Perigon.template, and Perigon.Modules changes, and deciding whether to revise existing pages or add new documentation.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

dotnet

Free

Use for .NET application development involving services, managers, dependency injection, Microsoft.Extensions.Hosting, dependency direction, MiniDb persistence, DTOs, Mapster mapping, shared entities/helpers, MCP tools, module workflows, solution analysis, cancellation, logging, and logic shared by CLI and Blazor.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

Prepare and publish Perigon.CLI patch releases, including versioning, release notes, bilingual docs, validation, and the nuget-branch CI handoff.

The English summary is being prepared. Showing the original description.

AterDev/Perigon.CLI54Updated Sep 10, 2026

See all skills by AterDev

Report a problem with this skill