dotnet-bdd-testing

dotnet-bdd-testing is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 90 tokens per session (2,635 once invoked), scanned A, original, MIT.

A guide to behaviour-driven testing in .NET using Gherkin feature files, which describe software behaviour in readable steps. It covers the Reqnroll test runner and its xUnit v3 setup.

In plain words
What is it for?
Use it when adding or enabling Gherkin scenarios, configuring Reqnroll, or connecting feature files to xUnit v3 in a .NET project.
Why use it?
Starting a .NET behaviour-testing setup involves choosing compatible tools and handling skipped or overlapping scenarios. This guide gives project-specific integration and verification steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding or enabling Gherkin scenarios, configuring Reqnroll, or connecting feature files to xUnit v3 in a .NET project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/dotnet-bdd-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Arasz/ai-raccoon --skill dotnet-bdd-testing
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dotnet-bdd-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-bdd-testing/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/dotnet-bdd-testing)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnet-bdd-testing"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-bdd-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dotnet-bdd-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnet-bdd-testing"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-bdd-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,635 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.02635
Opus 5.5 $0.00036 $0.01054
Sonnet 5.5 $0.00018 $0.00527
Haiku 4.5 $0.00009 $0.00264

Measured yesterday against content hash ce60cbb39fa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnet-bdd-testing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -s https://api.nuget.org/v3-flatcontainer/<pkg>/index.json`
.ai-badger/skills/dotnet-workload/references/dotnet-bdd-testing/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BDD / Gherkin testing in .NET

Runner landscape (checked 2026-08)

  • SpecFlow is dead: end-of-life 2024-12-31, GitHub repos deleted, Tricentis discontinued it. NuGet line stuck on stale betas; xUnit v2 only. Never recommend it for a new integration.
  • Reqnroll is the successor (BSD-3-Clause, actively released). xUnit v3 support shipped in Reqnroll 3.1 (2025-09). Latest line (2026-08): Reqnroll / Reqnroll.xunit.v3 3.3.x.

Verify before you integrate — always spike first

Never recommend a runner from docs alone. Build a throwaway spike in /tmp that mirrors the repo's exact constraints, run it, and report the measured result:

  1. Query the NuGet flat-container API for the latest versions: curl -s https://api.nuget.org/v3-flatcontainer/<pkg>/index.json
  2. Read the nuspec for dependency floors and target frameworks: curl -s https://api.nuget.org/v3-flatcontainer/<pkg>/<ver>/<pkg>.nuspec (netstandard2.0 targets are consumable from net10.0; check the xunit.v3 assert/extensibility floors against the repo's pinned xunit.v3; the runner adapter needs xunit.runner.visualstudio >= 3.0.2)
  3. dotnet new xunit -f net10.0 in /tmp, rewrite the csproj to the repo's stack: pinned xunit.v3 / runner / Microsoft.NET.Test.Sdk versions, TreatWarningsAsErrors, EnforceCodeStyleInBuild, and central package management (Directory.Packages.props + version-less refs) if the repo uses CPM.
  4. Add Reqnroll + the runner adapter, one small .feature (2-3 simplified scenarios), trivial step defs.
  5. dotnet test — green is the go signal. Report the exact commands, result line, and machine.

Integration facts (verified 2026-08-02: net10.0 + xunit.v3 3.2.2 + CPM, green 3/3)

  • Packages: Reqnroll + Reqnroll.xunit.v3 (the xUnit v3 adapter; use Reqnroll.xUnit only for v2).
  • Code-behind is generated at build time by Reqnroll.Tools.MsBuild.Generation (ships inside the adapter) — no committed .feature.cs files. .feature.cs defaults to being written NEXT TO the feature file; set <ReqnrollUseIntermediateOutputPathForCodeBehind>true</...> (v3.3+, default false, planned true in v4) to emit into obj/ instead — keeps the repo tree clean and generated code out of analyzer scope. ndjson/other artifacts land in obj/ either way.
  • Config: reqnroll.json with "$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json".
  • Generated tests are async Task-based; xunit.v3's default conservative parallel mode is recommended.
  • No Reqnroll.Shouldly package exists — use Shouldly directly in step definitions (adapter packages exist only for FluentAssertions / Verify).

Read the full file on GitHub · 143 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 143 lines · 90 tokens per session scan A ce60cbb39fa2

Subscribe to this mod's changes

dotnet-bdd-testing is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 2,635 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

dotnet-bdd-testing compared with skills from other repositories

dotnet-bdd-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-bdd-testingArasz/ai-raccoonSkill7todayMITA90Claude Code, Codex
http-client-migrationGen-Verse/PAST-BenchSkill404mo agoApache-2.0A14Claude Code, Codex
code-qualitywaybarrios/opencode-power-packSkill5625d agoMITA49Claude Code
compiler-b09bd196FuRongJun-1999/dsh-memorySkill778todayMITA104Claude Code
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex