Skip to content

Simple discount calculator; the greater the total purchase amount, the bigger the calculated discount.

Notifications You must be signed in to change notification settings

jamesbyars/bdd-with-cucumber-discount-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple discount calculator; the greater the total purchase amount, the bigger the calculated discount.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages