Skip to content

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

License

Notifications You must be signed in to change notification settings

LegolasVzla/behave-cucumber-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published