项目作者: gauravmittal1995

项目描述 :
A keyword driven open-source automation testing framework for acceptance testing and acceptance test-driven development (ATDD).
高级语言: Python
项目地址: git://github.com/gauravmittal1995/pytest.git
创建时间: 2015-01-26T16:25:53Z
项目社区:https://github.com/gauravmittal1995/pytest

开源协议:MIT License

下载


PyTest

1 DESCRIPTION

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 INSTALLATION

2.1 Selenium

If you have pip on your system, you can simply install or upgrade the Python bindings:

  1. pip install -U selenium

Alternately, you can download the source distribution from PyPI (e.g. selenium-2.44.tar.gz), unarchive it, and run:

  1. 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:

  1. git clone https://github.com/gauravmittal1995/pytest.git

Your ready to use PyTest

3 CONFIGURATION

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:

  1. cp config_sample.py config.py

Now set up the configuration based on your system and network and your done.

4 RUNNING

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:

  1. python pytestrun.py example/testfile.pyt

5 STATUS

This project is in very early development. Docs and Examples will added later.

6 LICENSE

This project uses the MIT Open-Source License. See the LICENSE file for more information.