LegolasVzla / behave-cucumber-tests

This is a simple repo created for a presentation related to user histories, cucumber and behave

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

behave-cucumber-tests

This is a simple repo created for a presentation related to user histories, cucumber and behave

Installation

Clone this project:

git clone https://github.com/LegolasVzla/behave-cucumber-tests.git

Install requirements.py

pip install -r requirements.txt
source env/bin/activate

Run Calculator

Run:

python calculator.py sumar 1 2
python calculator.py restar 3 2
python calculator.py multiplicar 5 4
python calculator.py dividir 20 4

Run Behave

Run:

behave

What about failed tests?

In calculator.feature try to change Scenario: Probar la división with 0 as a second number :D

Contributions


All work to improve performance is good

Enjoy it!

About

This is a simple repo created for a presentation related to user histories, cucumber and behave

License:MIT License


Languages

Language:Python 71.2%Language:Gherkin 28.8%