An open API service indexing awesome lists of open source software.

https://github.com/legolasvzla/behave-cucumber-tests

This is a simple repo created for a presentation related to user histories, cucumber and behave
https://github.com/legolasvzla/behave-cucumber-tests

behave-framework cucumber gherkin python3 user-history

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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!