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

https://github.com/srinivasskc/pytestbddautomation

Behavior Driven Python with pytest-bdd
https://github.com/srinivasskc/pytestbddautomation

pytest-bdd python

Last synced: 2 months ago
JSON representation

Behavior Driven Python with pytest-bdd

Awesome Lists containing this project

README

        

# PyTestBDDAutomation
Behavior Driven Python with pytest-bdd

# Setup
### Operating System : Windows 10

## Install Python
![image](https://user-images.githubusercontent.com/26836928/85190468-5eb6b880-b2d6-11ea-864a-e5a994a677ff.png)

## Install PIP
Download get-pip.py -- https://bootstrap.pypa.io/get-pip.py

Run the below commands:
python get-pip.py

Upgrade Pip:
pip install -U pip

## Run below commands:
pip install -U virtualenv
![image](https://user-images.githubusercontent.com/26836928/85217219-eae6df80-b3ab-11ea-80bb-2fc190312ef6.png)

python -m virtualenv venv
![image](https://user-images.githubusercontent.com/26836928/85217235-0d78f880-b3ac-11ea-8557-65753be89fd8.png)

venv\Scripts\activate.bat
![image](https://user-images.githubusercontent.com/26836928/85217244-24b7e600-b3ac-11ea-895c-f76f3331d6be.png)

## Installing PyTest

Running below command from Terminal (CMD Line)

pip install -U pytest

![image](https://user-images.githubusercontent.com/26836928/85190371-6b86dc80-b2d5-11ea-942f-355ade8b9d92.png)

##### Check that you installed the correct version:
![image](https://user-images.githubusercontent.com/26836928/85190385-a1c45c00-b2d5-11ea-81ac-85a37b5eed5d.png)

## Installing PyTest-BDD

##### Running below command from Terminal (CMD Line)

pip install pytest-bdd

![image](https://user-images.githubusercontent.com/26836928/85190435-113a4b80-b2d6-11ea-8ae6-7615d4d75a24.png)

We can add in our project:
![image](https://user-images.githubusercontent.com/26836928/85192138-0d5ef700-b2df-11ea-9220-8c2df7908e4e.png)