All projects

Personal open-source project · 2026

ScalableBdd — skill-driven C# test framework

A BDD framework where test capabilities are Claude-style skill files, and a master skill runs any sequence as a manual script, a dry run or real automation.

  • C#
  • .NET
  • Playwright
  • Reqnroll
  • Gherkin / BDD
  • SQL
ScalableBdd cover

Context

Test suites tend to grow by copying steps and glue code. I wanted to see how far a framework could go if capabilities were packaged the way AI skills are: as small, readable files that a person or a tool can pick up and run.

What I built

  • A skill library in Markdown. Each SKILL.md declares its inputs, tags and dependencies, followed by numbered steps, covering web, API and database work.
  • A master skill that takes skill ids, a named playbook or a tag, expands dependencies, removes duplicates, detects cycles and returns one ordered plan.
  • Three run modes from one file. automated drives Playwright, HTTP and SQL, manual prints human instructions, and dryrun shows the plan. A scenario can start as a manual script and become automated without a rewrite.
  • Declarative BDD. Reqnroll feature files only name skills, and a single step-definition file bridges to the engine, so glue code can’t build up.
  • A CLI and reports. skillrun calls any sequence from the terminal, and every run writes a Markdown report.

Why it scales

Adding a capability means adding a Markdown file, with no recompile. The registry validates ids and dependency links at startup, and browsers and connections only open when a run needs them.

Stack notes

C# on .NET 8, Playwright for the browser, HttpClient for APIs, ADO.NET with SQLite or SQL Server for data, and Reqnroll for BDD.