This repository hosts the Reqnroll workshop, demonstrated through a series of projects that build incrementally on one another. Each project adds new concepts and serves as the solution reference for its predecessor.
Note: The 'Core' project contains the business logic being tested, domain models, and some mock implementations.
-
A.BasicImplementation.Tests
- Outline of a scenario (not yet implemented)
- Goal: Get the scenario running
-
B.AdditionalScenarios.Tests
- Implements A.BasicImplementation.Tests
- Goal: Add scenarios, refactor using Background, Tables, and Scenario Outlines
-
C.Hooks.Tests
- Implements B.AdditionalScenarios.Tests
- Goal: Introduce Hooks to clean up test data after execution
-
D.AdvancedConcepts.Tests
- Implements C.Hooks.Tests
- Goal: Apply advanced features (StepArgumentTransformations, Table CreateInstance/CreateSet, Retrievers) to streamline code
-
E.Final.Tests
- Implements D.AdvancedConcepts.Tests
- Goal: Fix the failing test and use TDD to change the business logic.
Note: Each project demonstrates the “next-step” solution for the previous one.
- .NET 8 SDK (or later)
- Preferred IDE configured for Reqnroll—see Setup an IDE for Reqnroll
-
Install the .NET 8 SDK (or newer).
-
Configure your IDE according to the Reqnroll documentation.
-
Clone this repository:
git clone https://github.com/your-org/reqnroll-workshop.git
-
Open the solution file:
ReqnrollWorkshop.sln