To install for development, simply run the following commands:

git clone
cd pyest-needle
pip install -r requirements.txt
pip install -e .

Generating documentation

You can either use makefile:

cd docs
make html

Or you can use autobuild:

cd docs
sphinx-autobuild . _build/html/

Running Tests

To run tests you must first provide a base line to go against:

pytest --driver Chrome --needle-save-baseline test/

Then all runs afterwards can be just:

pytest --driver Chrome --pep8 pytest_needle --cov pytest_needle --cov-report term-missing test/