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.
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!
Idea stolen from Howard Deiner and specifically this repo