A keyword driven open-source automation testing framework for acceptance testing and acceptance test-driven development (ATDD). The source code is in the Python language and simple to understand.
###2.1 Selenium
If you have pip on your system, you can simply install or upgrade the Python bindings:
pip install -U selenium
Alternately, you can download the source distribution from PyPI (e.g. selenium-2.44.tar.gz), unarchive it, and run:
python setup.py install
Note: both of the methods described above install selenium as a system-wide package That will require administrative/root access to ther machine. You may consider using a virtualenv to create isolated Python environments instead.
###2.2 PyTest
To use Pytest, clone the github repo to your local machine:
git clone https://github.com/gauravmittal1995/pytest.git
Your ready to use PyTest
Before you can run PyTest, you will need to set up the configuration file. For this copy the contents of config_sample.py into config.py:
cp config_sample.py config.py
Now set up the configuration based on your system and network and your done.
To run the tests, use the pytestrun.py file. We have an example file in the example folder called testfile.py. To run it simply use the following command:
python pytestrun.py example/testfile.pyt
This project is in very early development. Docs and Examples will added later.
This project uses the MIT Open-Source License. See the [LICENSE] 1 file for more information.