test-core

star 0

Write and run unit tests for C# / .NET using MSTest, NUnit, or xUnit with Moq. Do NOT use for Angular or React Native tests.

dpkmi By dpkmi schedule Updated 2/28/2026

name: test-core description: Write and run unit tests for C# / .NET using MSTest, NUnit, or xUnit with Moq. Do NOT use for Angular or React Native tests. compatibility: opencode

When to Use

  • C# / VB.NET test writing or running
  • After Core development completes
  • Test project needs new classes

Standards

  • Match existing framework (MSTest/NUnit/xUnit)
  • Moq or NSubstitute for mocking, FluentAssertions preferred
  • File naming: [ClassName]Tests.cs
  • AAA pattern, descriptive test names
  • Minimum 85% data access, 90% business logic, 95% utilities

Run Command

  • dotnet test — run all tests
Install via CLI
npx skills add https://github.com/dpkmi/depot --skill test-core
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator