Skip to content

The tool for executing test cases based on pytest framework

License

Notifications You must be signed in to change notification settings

ownport/test-suites

 
 

Repository files navigation

test-suites

Build Status codecov

The tool for executing test cases based on pytest framework

The main goal of the project that there is no need to install any python dependencies to use it. Only one file test-suites is needed to be copied to local machine or remote server. The test-suites already contains all required libraries for writing test cases.

Versions

package version url
pytest 3.0.7
argparse 1.4.0
plumbum 1.6.2
py 1.4.31
PyYAML 3.12

How to install

Just copy test-suites binary from GitHub Releases to your local machine or remote machine where test cases shall executed

Test case example

Please follow the instruction from pytest documentation how to write the test cases.http://doc.pytest.org/en/latest/contents.html

The simple example:

def test_example():
    assert True

How to use

$ test-suites
==================================================================== test session starts =====================================================================
platform linux2 -- Python 2.7.12, pytest-3.0.7, py-1.4.31, pluggy-0.4.0
rootdir: /dev/github/test-suites, inifile:
collected 2 items

tests/test_example.py .
tests/test_yaml.py .
================================================================== 2 passed in 0.08 seconds ==================================================================

The command line interface for test-suites is the same as for pytest, http://doc.pytest.org/en/latest/usage.html

License

The package contains several components with own license

  • pytest is Copyright Holger Krekel and others, 2004-2016. Distributed under the terms of the MIT license, pytest is free and open source software.
  • argparse is (c) 2006-2009 Steven J. Bethard steven.bethard@gmail.com. The argparse module was contributed to Python as of Python 2.7 and thus was licensed under the Python license. Same license applies to all files in the argparse package project.
  • plumbum, is (c) Tomer Filiba tomerfiliba@gmail.com, MIT license.
  • py is (c) Holger Krekel and others, 2004-2015, MIT license
  • pyyaml is Copyright Kirill Simonov, Distributed under the terms of the MIT license, YAML parser and emitter for Python

About

The tool for executing test cases based on pytest framework

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.5%
  • Other 1.5%