Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.01 KB

File metadata and controls

25 lines (17 loc) · 1.01 KB

Build Status

BDD With Cucumber - Discount Calculator

This sample project demonstrates how we could practice Behavior Driven Development (BDD) using the Cucumber.io library.

The project is a simple discount calculator; the greater the total purchase amount, the bigger the calculated discount.

Documentation

One of the greatest things about Gherkin is the explicit documentation that the *.feature files define. For this project, we do not need to write any explicit documentation. If you want to know what the code does (or should do), read the *.feature files!

Credits

Idea stolen from Howard Deiner and specifically this repo