Skip to content

Pruebas-de-Software/Behave-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥒 Belly BDD Example

A simple BDD example using Python and Behave.

Setup Instructions

  1. Clone this repository or download the folder:

    git clone https://github.com/Pruebas-de-Software/Behave-hello-world.git
    cd belly-bdd
  2. (Optional but recommended) Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate        # Linux/macOS
    .\venv\Scripts\activate         # Windows
  3. Install dependencies:

    pip install -r requirements.txt

Running the tests

Just run:

behave

You should see output indicating which scenarios passed or failed.

Project Structure

belly-bdd/
├── belly.py
├── requirements.txt
├── features/
│   ├── belly.feature
│   └── steps/
│       └── belly_steps.py
└── README.md

(The same file .feature than Hello World Cucumber)

Happy testing! 💚

About

Hello World BDD, usando Python y Behave

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors