Skip to content

MichaelSEA/Cucumber-Examples

Repository files navigation

These two specs are examples of using Cucumber/Gherkin-syntax specs to drive precise customer requirements. For this engagement, the problem was modeling compliance with training requirements for professionals such as lawyers and accountants.  The rules are different in virtually every jurisdiction (typically a state is the jurisdiciton) and determining whether an individual or group is 'in compliance' for accrediation spanning multiple jurisdictions can be tricky.

In this case, the domain expert used Gherkin syntax to create SpecFlow specs.  SpecFlow is a .NET implementation of Cucumber/Gherkin.

The code to implement the rules system to satisfy these specs was a traditional class-library where I modeled rules/ requirements and specialized per jurisdiction as-needed, but the specs were extremely helpful in getting the domain expert to precisely identify requirements which I could then turn into unit tests for my library.

About

these sample specs are for SpecFlow, the .NET impl of Cucumber

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published