Reqnroll

Community-maintained open source BDD framework for .NET — the active successor to SpecFlow that uses Gherkin feature files to define acceptance tests in plain English. Reqnroll is a fork of SpecFlow 3.x with full .NET 8/9 support, continued active development, and complete API compatibility. Reqnroll features: .feature files with Given/When/Then scenarios, [Given]/[When]/[Then] step definition attributes, ScenarioContext injection, DataTable parameters, Scenario Outlines, test framework integrations (xUnit, NUnit, MSTest), parallel execution, step argument transformations, hooks (BeforeScenario, AfterFeature, BeforeStep), and LivingDoc documentation generation. Drop-in replacement for SpecFlow — change NuGet package reference and namespace import.

Evaluated Mar 06, 2026 (0d ago) v2.x
Homepage ↗ Repo ↗ Developer Tools dotnet csharp bdd reqnroll gherkin cucumber acceptance-testing specflow-successor
⚙ Agent Friendliness
66
/ 100
Can an agent use this?
🔒 Security
90
/ 100
Is it safe for agents?
⚡ Reliability
82
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
85
Error Messages
82
Auth Simplicity
95
Rate Limits
98

🔒 Security

TLS Enforcement
92
Auth Strength
92
Scope Granularity
88
Dep. Hygiene
88
Secret Handling
90

Testing framework — no production security concerns. Same SpecFlow security guidance applies: feature files are plain text and may be committed to version control; ensure agent scenarios don't contain real credentials. Step definitions calling real APIs must use test credentials only.

⚡ Reliability

Uptime/SLA
82
Version Stability
82
Breaking Changes
80
Error Recovery
82
AF Security Reliability

Best When

You're on .NET 8+ and need BDD acceptance testing with an actively maintained framework — Reqnroll is the community-endorsed successor to SpecFlow with guaranteed long-term support.

Avoid When

Your team is developer-only with no business stakeholder involvement in test authoring, or you need to stay on the original SpecFlow commercial tooling ecosystem.

Use Cases

  • Agent acceptance tests with .NET 8+ — Reqnroll supports .NET 8/9 with active maintenance; SpecFlow requires legacy workarounds; Feature: Agent Onboarding / Scenario: New agent setup wizard / Given user opens agent creation / When they complete all steps / Then agent is ACTIVE in system
  • SpecFlow migration to active OSS — replace Reqnroll.SpecFlow.Compatibility NuGet or update package references from SpecFlow to Reqnroll; same Gherkin feature files work unchanged; step definitions update namespace from TechTalk.SpecFlow to Reqnroll.BoDi
  • Agent API acceptance testing — [Given(@'I have an authenticated API client')] [When(@'I create agent {string}')] [Then(@'response is 201 Created')] step chain calls agent REST API; Reqnroll manages test context via dependency injection
  • Parallel agent scenario execution — Reqnroll xUnit runner supports parallel scenario execution; [assembly: Parallelizable] with ScenarioContext injection ensures thread-safe agent test state; faster CI for large agent acceptance test suites
  • Living documentation for agent features — Reqnroll LivingDoc CLI generates HTML documentation from feature files showing scenario pass/fail; stakeholders see which agent behaviors are tested and passing without reading C# code

Not For

  • Unit tests — Reqnroll/BDD overhead is inappropriate for unit tests; use xUnit/NUnit directly for agent unit and integration tests at class level
  • Teams evaluating SpecFlow first — for new .NET projects starting BDD, use Reqnroll directly (not SpecFlow) as Reqnroll is the actively maintained fork with long-term support
  • Performance tests — Gherkin scenario overhead not suited for load testing agent systems; use k6, NBomber, or BenchmarkDotNet

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

No auth — testing framework. Agent-under-test authentication is configured in step definition bindings.

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

Reqnroll is BSD-3-Clause licensed, maintained by community. Fully open source with no commercial components required.

Agent Metadata

Pagination
none
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • Namespace changed from TechTalk.SpecFlow to Reqnroll — SpecFlow migration needs global namespace replace in step definition files; using TechTalk.SpecFlow namespace with Reqnroll NuGet compiles but throws at runtime; agent SpecFlow-to-Reqnroll migration must update all using statements
  • Reqnroll requires test runner NuGet — Reqnroll.xUnit or Reqnroll.NUnit or Reqnroll.MsTest package needed in addition to Reqnroll core; missing runner NuGet causes feature files to not generate test methods; agent BDD projects add only Reqnroll core and wonder why no tests run
  • Feature file build action must be set to None — SpecFlow Visual Studio extension auto-set build action; without extension or in non-VS environments, .feature files may be set to Content and skipped by Reqnroll MSBuild generator; set <None Update='**/*.feature'> in .csproj for agent feature file generation
  • Step definition class must have [Binding] attribute — Reqnroll only scans classes marked [Binding] for step definitions; classes with [Given]/[When]/[Then] without [Binding] are silently ignored; agent step definition classes missing [Binding] produce 'No matching step definition' errors for all steps
  • DI injection uses Reqnroll IoC not Microsoft DI — Reqnroll uses BoDi container for step definition injection, not ASP.NET Core DI; agent services registered in WebApplicationFactory's ServiceCollection are not automatically available in step constructors; use IReqnrollFixture or ScenarioContext to bridge Microsoft DI and Reqnroll IoC
  • Parallel execution needs thread-safe ScenarioContext — Reqnroll 2.x supports parallel scenarios; instance fields in [Binding] classes are shared across threads; agent step definitions must inject ScenarioContext and store state in context dictionary, not instance variables, to avoid data races in parallel agent test execution

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Reqnroll.

$99

Scores are editorial opinions as of 2026-03-06.

5215
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered