#Simple Web Calculator
It is a simple web caculator for Behavior Driven Development (BDD) example.
The app is written in Python with Flask framework and use Ruby's Cucumber to run the step files.
Feature files are put in the "features" folder and step files are in the "features/step_definitions".
You need install Python and Ruby first.
$ cd WebCalculator
Install Python required packages.
$ pip install -r requirements.txt
$ gem install cucumber
Install Watir web driver.
$ gem install watir
$ gem install rspec
Try to run the unit tests. It should all pass.
$ py.test CalculatorTest.py
Run web app. The app will run on 127.0.0.1:5000
$ python run.py
$ cucumber features/calculator.feature