{ "info": { "author": "Jay Luker", "author_email": "jay_luker@harvard.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "# pytest-ghostinspector\n\n[![Build Status](https://travis-ci.org/harvard-dce/pytest-ghostinspector.svg?branch=master)](https://travis-ci.org/harvard-dce/pytest-ghostinspector)\n\nFor discovering & executing [Ghost Inspector](https://ghostinspector.com/) tests.\n\n\n## Features\n\npytest-ghostinspector is a plugin that leverages the pytest\nframework and test runner to execute Ghost Inspector tests\nvia their REST API. Instead of standard test code, you create\nyour functional web application tests via the Ghost Inspector\nUI and/or test recorder, then specify the suites or individual\ntests to execute using a YAML config file or command-line\narguments. The API key and any necessary test variables are\nalso specified either as command-line arguments or in a\n`pytest.ini` file.\n\n## Requirements\n\n* works for python 2.6 - 3.5\n* A Ghost Inspector account & api key\n\n\n## Installation\n\nThe usual...\n\n $ pip install pytest-ghostinspector\n\n\n## Usage\n\nThis plugin adds several command-line arguments to py.test::\n\n ghostinspector:\n --gi_key=GI_KEY Set the value for the Ghost Inspector API key\n --gi_start_url=GI_START_URL\n Override the starting url value for the Ghost\n Inspector tests\n --gi_suite=GI_SUITE Id of a Ghost Inspector suite to execute\n --gi_test=GI_TEST Id of a Ghost Inspector test to execute\n --gi_param=GI_PARAM Querystring param (repeatable) to include in the API\n execute request. Example: \"--gi_param foo=bar\"\n\n\n### via command line options\n\nOnce installed the simplest way to execute your Ghost Inspector tests is via\ncommand-line options to py.test::\n\n $ py.test --gi_key=hjkl1234 --gi_test=asdf0987\n\nOutput should look something like::\n\n ============================== test session starts =============================\n platform linux2 -- Python 2.7.10, pytest-2.8.3, py-1.4.30, pluggy-0.3.1\n rootdir: /path/to/cwd, inifile:\n plugins: ghostinspector-0.1.0\n collected 1 items\n\n . .\n\n ============================ 1 passed in 26.34 seconds =========================\n\n\n### via YAML test files\n\nIf you have a large enough collections of tests or suites you can create a\nYAML test file containing the ids and the plugin will collect and\nexecute them::\n\n # gi_test_my_tests.yml\n\n suites:\n - id: abcd1234\n - id: fdsa9876\n\n tests:\n - id: qwer4567\n\nThen point py.test at the YAML file::\n\n $ py.test gi_tests/gi_test_my_tests.yml\n\n\n### pytest.ini \n\nTo avoid having to type common options, like `--gi_key`, include them in a\n`pytest.ini` file with `addopts`::\n\n [pytest]\n ...\n addopts =\n --gi_key=abcd1234\n --gi_param foo=bar\n \n### Collection modes\n\nv0.4.0 introduced the `--gi_collect_mode` option for controlling how the plugin\ndeals with test collection. The options are:\n\n* \"all\" - specify GI tests via `--gi-test`/`--gi-suite` options, plus standard file system test discovery enabled\n* \"files\" - disables GI API collection via `--gi-test`/`--gi-suite`\n* \"ids\" - disables file system test discovery; only collect tests identified via `--gi-test`/`--gi-suite` \n\nThe `ids` mode can be useful in situations where you only wish to use the plugin\nto execute a known set of tests and/or suites, and skip any tests that might be found by searching `cwd`.\n\nBy default, if no mode is explicitly passed the inclusion of `--gi-test`/`--gi-suite` will trigger `ids` mode. \n\n## Development\n\nContributions are very welcome. Tests can be run with `tox`.\n\n## License\n\nDistributed under the terms of the MIT license, `pytest-ghostinspector` is free and open source software.\n\n## Copyright\n\n2015 President and Fellows of Harvard College\n\n## Hat-tips\n\nThis plugin was generated with [Cookiecutter](https://github.com/audreyr/cookiecutter) \nalong with @hackebrot's [Cookiecutter-pytest-plugin](https://github.com/pytest-dev/cookiecutter-pytest-plugin) template.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/harvard-dce/pytest-ghostinspector", "keywords": "pytest,py.test,ghostinspector", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pytest-ghostinspector", "package_url": "https://pypi.org/project/pytest-ghostinspector/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-ghostinspector/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/harvard-dce/pytest-ghostinspector" }, "release_url": "https://pypi.org/project/pytest-ghostinspector/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "For finding/executing Ghost Inspector tests", "version": "0.4.0" }, "last_serial": 2120227, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ed471048827f33f11f50f5ce082be6cd", "sha256": "7c3028270521b762f675bad597a1384dd69976945091cbe75be13b1cdbaabe70" }, "downloads": -1, "filename": "pytest-ghostinspector-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ed471048827f33f11f50f5ce082be6cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13782, "upload_time": "2015-12-03T21:37:33", "url": "https://files.pythonhosted.org/packages/89/9d/0757cfc5ea7454238163fd7549be4a2d04155b7073214b6fdbf08890eab8/pytest-ghostinspector-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f2a5b9721792a99cd755e437227d3087", "sha256": "2564f733e919c1e9f2beb7942464291f320ead6940bc9db8dec0709b781ac72e" }, "downloads": -1, "filename": "pytest-ghostinspector-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f2a5b9721792a99cd755e437227d3087", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13735, "upload_time": "2015-12-03T21:58:49", "url": "https://files.pythonhosted.org/packages/a9/b1/c90ccfea38eaac50974b75f200b19885880b01dea4ab00832fcff3ee3691/pytest-ghostinspector-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "dc8c469923911220415f6d7e4e6a5f4e", "sha256": "6224f015315078fde10db781a137661e77e164388383579def3d116d38088e16" }, "downloads": -1, "filename": "pytest-ghostinspector-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dc8c469923911220415f6d7e4e6a5f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6368, "upload_time": "2015-12-07T20:12:08", "url": "https://files.pythonhosted.org/packages/ee/d7/b9f1d79e8cfa50a597ced20175c69ad6950d4a8f4a488d204eccaac70dca/pytest-ghostinspector-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1c3f6d39a3c87ded6a549b2434a7b111", "sha256": "1fe885e162aa3eb9a38b818cd5705e28ed979af5e103f2aaab0139026aa53344" }, "downloads": -1, "filename": "pytest-ghostinspector-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1c3f6d39a3c87ded6a549b2434a7b111", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10141, "upload_time": "2016-02-22T20:41:08", "url": "https://files.pythonhosted.org/packages/30/90/47ba14b3e4de0bb2614173018255be894ad64a75387649a8ceebddb726ae/pytest-ghostinspector-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5639bc97877a759285968e2e26f9aebd", "sha256": "14db7b906bd37e729b9f69e08a465f44bd8036f4f5abcc3b9db4698280743fbd" }, "downloads": -1, "filename": "pytest-ghostinspector-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5639bc97877a759285968e2e26f9aebd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13984, "upload_time": "2016-02-23T21:21:07", "url": "https://files.pythonhosted.org/packages/7d/89/04549d86243c56e19defe4a6cff20b7e0a37e284fc1becbc0b1a653065d4/pytest-ghostinspector-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4b180e1f10a86f659ad96e75bb8010db", "sha256": "146e90dd857d61e8facf8a426823434b8fdced69d08d1791f8da018545b8e077" }, "downloads": -1, "filename": "pytest-ghostinspector-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4b180e1f10a86f659ad96e75bb8010db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14047, "upload_time": "2016-05-04T17:23:06", "url": "https://files.pythonhosted.org/packages/25/a3/7c8d4cd3180382cb486bb53f20aa329bac3ee4c973b2d2589502bcbe4e9b/pytest-ghostinspector-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "af1ffbdaee0ac4452559303c2a1207ca", "sha256": "4bd118bb522f6614da01d8d342d3d9d2951ab69a3398cebdf2557345b073544a" }, "downloads": -1, "filename": "pytest-ghostinspector-0.4.0.tar.gz", "has_sig": false, "md5_digest": "af1ffbdaee0ac4452559303c2a1207ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15817, "upload_time": "2016-05-17T16:48:50", "url": "https://files.pythonhosted.org/packages/73/ed/b3e5faa1a836c00c62bf18d3c7e97f5a885e6ee8ce245f1c3550b7d26772/pytest-ghostinspector-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af1ffbdaee0ac4452559303c2a1207ca", "sha256": "4bd118bb522f6614da01d8d342d3d9d2951ab69a3398cebdf2557345b073544a" }, "downloads": -1, "filename": "pytest-ghostinspector-0.4.0.tar.gz", "has_sig": false, "md5_digest": "af1ffbdaee0ac4452559303c2a1207ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15817, "upload_time": "2016-05-17T16:48:50", "url": "https://files.pythonhosted.org/packages/73/ed/b3e5faa1a836c00c62bf18d3c7e97f5a885e6ee8ce245f1c3550b7d26772/pytest-ghostinspector-0.4.0.tar.gz" } ] }