Skip to content

lndamaral/python-bdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Python BDD - Using Behave

Setup

  1. Cloning the repository:

    git clone https://github.com/lndamaral/python-bdd.git
  2. Installing all the dependencies:

    cd path/to/python-bdd/automated_testes
    
    pip install -r requirements.txt

Python Naming Conventions

http://visualgit.readthedocs.io/en/latest/pages/naming_convention.html

Architecture

/automated_tests:

    features/                       # Folder used to keep all feature files writen in Gherkin syntax
        <feature-name>.feature          
        <feature-name>.feature          

    helper/                         #Used to keep useful methods for common test operations
        <files>.py            
        <files>.py            

    model/                           #Folder where classes that implement models operations.
        <files>.py 
        <files>.py 
        <files>.py 

    steps/                           #Folder where classes that implement step definitions according to features.
        <files>_step.py
        <files>_step.py
        <files>_step.py

Test Execution

cd path/to/python-bdd/automated_testes
behave --no-captures

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published