Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.96 KB

README_EN.md

File metadata and controls

75 lines (55 loc) · 1.96 KB

English description | Descrição em Português

Victory

Web front test automation tool.

requirements

  • python 3.6 or greather
  • pip
  • virtualenv

setup (Linux)

cd <my-projects>
git clone https://github.com/alexgarzao/victory.git
cd victory
virtualenv -p <python-version> <myenv>
source <myenv>/bin/activate
pip install -r requirements.txt

Where:

<my-projects> must be replaced by project directory
<python-version> must be replaced by the python binary to be used
<myenv> must be replaced by the folder that will keep the virtualenv environment

For example:

cd projects
git clone https://github.com/alexgarzao/victory.git
cd victory
virtualenv -p python3.7 .env
source .env/bin/activate
pip install -r requirements.txt

To run the google search sample, run the following command:

make FEATURES_PATH=samples/google-search all

setup (Windows)

To install python: https://www.python.org/downloads/windows/

To install virtualenv: pip.exe install virtualenv

cd <my-projects>
git clone https://github.com/alexgarzao/victory.git
cd victory
virtualenv.exe <myenv>
<myenv>\scripts\activate.bat
source <myenv>/bin/activate
pip.exe install -r requirements.txt

Where:

<my-projects> must be replaced by project directory
<python-version> must be replaced by the python binary to be used
<myenv> must be replaced by the folder that will keep the virtualenv environment

For example:

cd projects
git clone https://github.com/alexgarzao/victory.git
cd victory
virtualenv.exe .env
.env\scripts\activate.bat
pip.exe install -r requirements.txt

To run the google search sample, run the following command:

behave.exe -D features_path=./samples/google-search/ ./features @./samples/google-search/sequence.featureset
TODO: make somethink like the makefile approach: make FEATURES_PATH=samples/google-search all