{ "info": { "author": "Moray Grieve, Ben Spiller", "author_email": "pysys-dev@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Education", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX :: Linux", "Operating System :: POSIX :: SunOS/Solaris", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Education :: Testing", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "What is PySys?\n==============\nPySys is an easy-to-use cross-platform framework for writing and orchestrating \nall your system/integration tests, combined seamlessly with your unit and \nmanual tests. \n\nIt provides a comprehensive package of utility methods to make all the common \nsystem/integration testing operations a breeze, as well as the flexibility to \nadd whatever test execution and validation logic you need using the full power \nof the Python language. \n\nWhatever language the application you're testing is written in, and whatever \nplatforms it needs to run on, PySys can help!\n\nKey features include:\n\n- A comprehensive library of assertion methods appropriate for system-level \n testing, such as checking for error/success messages in log files and \n comparing the contents of output files.\n- A comprehensive library of methods to automate platform-independent process \n starting, orchestration, and cleanup, for both Windows and Unix-based \n systems. Includes common operations such as:\n\n * dynamic port allocation, \n * waiting until a server is running on a specified port\n * waiting until a file contains a specified message, \n * aborting early if an error message is detected\n\n- Support for executing tests in parallel to significantly speed up execution \n time, with a flexible mechanism for controlling execution order.\n- Support for executing the same test in several modes during your test \n run (for example against different web browsers, databases, etc). \n- A process memory monitoring framework to check for memory leaks when soak \n testing your application.\n- A performance monitoring framework for recording and aggregating latency, \n throughput and other performance metrics.\n- A pluggable \"writers\" framework for recording test outcomes in any format, \n including a standard JUnit-compatible XML results writer in the box, and \n support for running tests under Travis CI.\n- Integrated support for running PyUnit tests and doctests, in case your \n application is also written in Python.\n- Integrated support for executing manual/interactively driven test cases.\n- Test categorization and selective include/exclude execution, using per-test \n classification groups.\n- Support for Windows, Linux, macOS and Solaris. \n\n\nProject Links\n=============\n.. image:: https://travis-ci.com/pysys-test/pysys-test.svg?branch=master\n\t:target: https://travis-ci.com/pysys-test/pysys-test\n\n.. image:: https://codecov.io/gh/pysys-test/pysys-test/branch/master/graph/badge.svg\n\t:target: https://codecov.io/gh/pysys-test/pysys-test\n\n- API documentation: https://pysys-test.github.io/pysys-test\n- Download releases, including sample testcases: https://github.com/pysys-test/pysys-test/releases\n- Stackoverflow tag for questions: https://stackoverflow.com/tags/pysys\n- Change log: https://github.com/pysys-test/pysys-test/blob/master/CHANGELOG.rst\n- Bug/enhancement issue tracker: https://github.com/pysys-test/pysys-test/issues\n- Source repository: https://github.com/pysys-test/pysys-test\n\nLicense and Credits\n===================\nPySys is licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1. See \nLICENSE.txt for details. \n\nPySys was created and developed by Moray Grieve. The current maintainer is \nBen Spiller. \n\nThis is a community effort so we welcome your contributions, whether \nenhancement issues or GitHub pull requests! \n\nInstallation\n============\n\nPySys can be installed into Python 3.7/3.6/3.5 (recommended) or Python 2.7 \n(though note that Python 2.7 will soon be out of support from the Python team). \n\nThe best way to install PySys is using the standard `pip` installer which \ndownloads and install the binary package (`.whl`) for the current PySys \nrelease, by executing::\n\n\t> python -m pip install PySys\n\nAlternatively, you can download the binary .whl distribution from \nhttps://github.com/pysys-test/pysys-test/releases and use \n`python -m pip install PySys-.whl` instead. \n\nMake sure you have an up-to-date pip using `python -m pip install --upgrade pip`.\nSee https://packaging.python.org/tutorials/installing-packages for \nmore information about using `pip`.\n\nWindows\n-------\nOn Windows, pip will automatically install the \n`pywin32 `_ and \n`colorama `_ \nlibraries that PySys depends upon.\n\nThe executable launcher script `pysys.py` is installed into the `Scripts\\\\` \ndirectory of the Python installation, e.g. `c:\\\\Python\\\\Scripts\\\\pysys.py`. \nTo allow easy invocation of PySys from any test directory you may wish to add \nthe Scripts directory to your `PATH` or copy the script to a location that is \nalready on `PATH`. Alternatively you can run PySys using `python -m pysys`.\n\n\nUnix\n----\nThe executable launcher script `pysys.py` is installed into Python's binary \ndirectory, e.g. `/usr/local/bin`, and hence should be on the current user's \n`PATH` automatically; if not, just add it. Alternatively you can run PySys \nusing `python -m pysys`.\n\nThose wishing to use the manual tester should ensure they have \ninstalled the tcl/tk libraries on the host machine and are using a Python \nversion that was compiled with tcl/tk support.\n\n\nGetting Started\n===============\nAfter installation, to see the available options to the pysys.py script use::\n\n\t> pysys.py --help\n\nThe script has four main commands: \n - `makeproject` to create your top-level testing project configuration file, \n - `make` to create individual testcases, \n - `run` to execute them, and \n - `clean` to delete testcase output after execution.\n\nFor detailed information, see the `--help` command line. \n\nTo get started, create a new directory to hold your tests. Then run the \n`makeproject` command from that directory to add a `pysysproject.xml` \nfile which will hold default settings your all your tests::\n\n\t> mkdir tests\n\t> cd tests\n\t> pysys.py makeproject\n\nThen to create your first test, run::\n\n\t> pysys.py make MyApplication_001\n\nThis will create a `MyApplication_001` subdirectory with a `pysystest.xml` \nfile holding metadata about the test such as its title, and a `run.py` \nwhere you can add the logic to `execute` your test, and to `validate` that \nthe results are as expected. \n\nTo run your testcases, simply execute::\n\n\t> pysys.py run\n\n\nNext Steps\n==========\nThe methods you need for typical tasks like starting processes (`startProcess`), \nwaiting for messages in log files (`waitForSignal`) and of course validating \nthe results (various assert methods such as `assertGrep`) are \nall defined on the `BaseTest` class, so look that up in the API documentation \nfor full details of what is possible - see https://pysys-test.github.io/pysys-test. \n\nYou might also want to take a look at our sample testcases for some practical \nexamples. These can be downloaded as a `.tar.gz` containing files with Unix \nline endings, or a `.zip` using Windows line endings from \nhttps://github.com/pysys-test/pysys-test/releases.\n\nTo unpack the tests on Unix systems, use::\n\n\t> tar zxvpf PySys-VERSION-sample-testcases-unix.tar.gz\n\t> cd pysys-examples\n\nTo run the testcases, after changing directory to the testcases location \nsimply execute::\n\n\t> pysys.py run \n\nThe `fibonacci` sample tests are a good place to start. \n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pysys-test/pysys-test", "keywords": "testing,qa,system testing,integration testing,unit testing", "license": "GNU Lesser General Public License", "maintainer": "Ben Spiller", "maintainer_email": "pysys-dev@googlegroups.com", "name": "PySys", "package_url": "https://pypi.org/project/PySys/", "platform": "Operating System :: Microsoft :: Windows", "project_url": "https://pypi.org/project/PySys/", "project_urls": { "Change Log": "https://github.com/pysys-test/pysys-test/blob/release/CHANGELOG.rst", "Documentation": "https://pysys-test.github.io/pysys-test", "Download Samples": "https://github.com/pysys-test/pysys-test/releases", "Homepage": "https://github.com/pysys-test/pysys-test", "Repository": "https://github.com/pysys-test/pysys-test", "Stackoverflow Tag": "https://stackoverflow.com/tags/pysys", "Tracker": "https://github.com/pysys-test/pysys-test/issues" }, "release_url": "https://pypi.org/project/PySys/1.5.0/", "requires_dist": [ "pywin32 ; sys_platform == \"win32\"", "colorama ; sys_platform == \"win32\"" ], "requires_python": ">=2.7, <4", "summary": "Python System Test Framework", "version": "1.5.0" }, "last_serial": 5599982, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "0da9ac93d2ef949f115814a1605d690d", "sha256": "b7cafa97d62ade71911d0887799584ac34222935615542a219ea31db120573ab" }, "downloads": -1, "filename": "PySys-0.9.0.win32.exe", "has_sig": false, "md5_digest": "0da9ac93d2ef949f115814a1605d690d", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 304129, "upload_time": "2012-10-27T16:14:36", "url": "https://files.pythonhosted.org/packages/48/34/106b1d28fbb1942cb91b78626988d3f9f07234cde4fc606ef6c8bfef58ee/PySys-0.9.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "9eb7cd3404e811856307363fbd55449a", "sha256": "e12637b097290e3dd7e016d1f98e3995ec12d4d41ddc4a2d5499d76595d1c12c" }, "downloads": -1, "filename": "PySys-0.9.0.zip", "has_sig": false, "md5_digest": "9eb7cd3404e811856307363fbd55449a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 109120, "upload_time": "2012-10-27T16:13:29", "url": "https://files.pythonhosted.org/packages/6d/4d/b536d1f4e2f68b3cc5282624622c20827fbedb4998eb0a1cc80dfd42754a/PySys-0.9.0.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "6f1252fd076e1110ef75c5f34c2357f4", "sha256": "e0c74b3872bd3bbc087670262b22a9acf1684b82c9c223ca0c7cef9ea7ef5459" }, "downloads": -1, "filename": "PySys-1.2.0.tar.gz", "has_sig": false, "md5_digest": "6f1252fd076e1110ef75c5f34c2357f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84178, "upload_time": "2017-04-28T20:46:35", "url": "https://files.pythonhosted.org/packages/4b/a6/65a9427d378bfe52e28d3e2c7b67c855e3132308c6a96d13be488dcf03c6/PySys-1.2.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "e1da95db80cc53bffdb90a700c3b334d", "sha256": "913feac6bdd077f458b86befd7b2b4d44e936bb7dea08230e8f7f16a91e031a3" }, "downloads": -1, "filename": "PySys-1.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e1da95db80cc53bffdb90a700c3b334d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, <4", "size": 189794, "upload_time": "2019-04-02T11:39:45", "url": "https://files.pythonhosted.org/packages/2f/40/7ca7228131b08e8fb6dc365bd2012f988f65ce4eb8e6bcb80625aea88495/PySys-1.4.0-py2.py3-none-any.whl" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "910b5ce050c1dd30ac29b567866cd459", "sha256": "6dca15023a1c3c243387fb044733776c44fd9f6af8c6bcccfda1413c22655dc3" }, "downloads": -1, "filename": "PySys-1.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "910b5ce050c1dd30ac29b567866cd459", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, <4", "size": 231297, "upload_time": "2019-07-29T15:02:15", "url": "https://files.pythonhosted.org/packages/98/f5/e886f410db0417dd0fde2fd9e566ee06788471929fa4d92060499d5c69ac/PySys-1.5.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "910b5ce050c1dd30ac29b567866cd459", "sha256": "6dca15023a1c3c243387fb044733776c44fd9f6af8c6bcccfda1413c22655dc3" }, "downloads": -1, "filename": "PySys-1.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "910b5ce050c1dd30ac29b567866cd459", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, <4", "size": 231297, "upload_time": "2019-07-29T15:02:15", "url": "https://files.pythonhosted.org/packages/98/f5/e886f410db0417dd0fde2fd9e566ee06788471929fa4d92060499d5c69ac/PySys-1.5.0-py2.py3-none-any.whl" } ] }