csharp-nunit
Get best practices for NUnit unit testing, including data-driven tests
Skill by eiei114
Chalk Labs
Need help deploying csharp-nunit?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/eiei114-csharp-nunit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/csharp-nunit
What's inside
- Skill name
csharp-nunit- Description
- Get best practices for NUnit unit testing, including data-driven tests
- License
- MIT
- Instructions
- 68 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# NUnit Best Practices
Your goal is to help me write effective unit tests with NUnit, covering both standard and data-driven testing approaches.
## Project Setup
- Use a separate test project with naming convention `[ProjectName].Tests`
- Reference Microsoft.NET.Test.Sdk, NUnit, and NUnit3TestAdapter packages
- Create test classes that match the classes being tested (e.g., `CalculatorTests` for `Calculator`)
- Use .NET SDK test commands: `dotnet test` for running tests
## Test Structure
- Apply `[TestFixture]` attribute to test classes
- Use `[Test]` attribute for test methods
- Follow the Arrange-Act-Assert (AAA) pattern
- Name tests using the pattern `MethodName_Scenario_ExpectedBehavior`
- Use `[SetUp]` and `[TearDown]` for per-test setup and teardown
- Use `[OneTimeSetUp]` and `[OneTimeTearDown]` for per-class setup and teardown
- Use `[SetUpFixture]` for assembly-level setup and teardown
## Standard Tests
- Keep tests focused on a single behavior
- Avoid testing multiple behaviors in one test method
- Use clear assertions that express intent
- Include only the assertions needed to verify the test case
- Make tests independent and idempotent (can run in any order)
- Avoid test interdependencies
## Data-Driven Tests
- Use `[TestCase]` for inline test data
- Use `[TestCaseSource]` for programmatically generated test data
- Use `[Values]` for simple parameter combinations
- Use `[ValueSource]` for property or method-based data sources
- Use `[Random]` for random numeric test values
- Use `[Range]` for sequential numeric test values
- Use `[Combinatorial]` or `[Pairwise]` for combining multiple parameters
## Assertions
- Use `Assert.That` with constraint model (preferred NUnit style)
- Use constraints like `Is.EqualTo`, `Is.SameAs`, `Contains.Item`
- Use `Assert.AreEqual` for simple value equality (classic style)
- Use `CollectionAssert` for collection comparisons
- Use `StringAssert` for string-specific assertions
- Use `Assert.Throws<T>` or `Assert.ThrowsAsync<T>` to test exceptions
- Use descriptive messages in assertions for clarity on failure
## Mocking and Isolation
- Consider using Moq or NSubstitute alongside NUnit
- Mock dependencies to isolate units under test
- Use interfaces to facilitate mocking
- Consider using a DI container for complex test setups
## Test Organization
- Group tests by feature or component
- Use categories with `[Category("CategoryName")]`
- Use `[Order]` to control test execution order when necessary
- Use `[Author("DeveloperName")]` to indicate ownership
- Use `[Description]` to provide additional test information
- Consider `[Explicit]` for tests that shouldn't run automatically
- Use `[Ignore("Reason")]` to temporarily skip testsFrom eiei114/claude-code-template, MIT.
More from eiei114/claude-code-template
- 0.404score
java-junit
eiei114
Get best practices for JUnit 5 unit testing, including data-driven tests
SkillDFreshness: DClaude Code +9 - 0.399score
playwright-generate-test
eiei114
Generate a Playwright test based on a scenario using Playwright MCP
SkillDFreshness: DClaude Code +9 - 0.396score
playwright-explore-website
eiei114
Website exploration for testing using Playwright MCP
SkillDFreshness: DClaude Code +9 - 0.390score
mcp-builder
eiei114
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: DClaude Code +9 - 0.385score
frontend-design
eiei114
Create distinctive, production-grade frontend interfaces with high design quality.
SkillDFreshness: DClaude Code +9 - 0.385score
pdf
eiei114
Use this skill whenever the user wants to do anything with PDF files.
SkillDFreshness: DClaude Code +9 - 0.385score
algorithmic-art
eiei114
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: DClaude Code +9 - 0.385score
brand-guidelines
eiei114
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillDFreshness: DClaude Code +9 - 0.385score
canvas-design
eiei114
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillDFreshness: DClaude Code +9 - 0.385score
doc-coauthoring
eiei114
Guide users through a structured workflow for co-authoring documentation.
SkillDFreshness: DClaude Code +9 - 0.380score
grill-me
eiei114
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 19, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/eiei114/claude-code-template
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from eiei114
- 0.609score
idea-to-build
eiei114
Start a local Hermes Idea-to-Build session after the human explicitly invokes this skill.
SkillAFreshness: A★ 4Claude Code +9 - 0.609score
maintenance-build
eiei114
Start the Hermes Maintenance Multica workflow after the human explicitly invokes this skill.
SkillAFreshness: A★ 4Claude Code +9 - 0.603score
idea-status
eiei114
Read-only Operations Cockpit for Idea Sessions.
SkillAFreshness: A★ 4Claude Code +9 - 0.589score
template-skill-bridge
eiei114
Template skill contributed by extensions/skill-bridge via resources_discover.
SkillAFreshness: A★ 2Claude Code +9 - 0.581score
spotify-playback
eiei114
Control Spotify playback and share now playing to X from Pi.
SkillAFreshness: A★ 1Claude Code +9 - 0.561score
example-skill
eiei114
Example Agent Skill shipped by this Pi package template.
SkillAFreshness: A★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get csharp-nunit running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
csharp-nunit skill. Agent Mart. https://agentmart.dev/skills/eiei114-csharp-nunit (last updated 2026-10-24)