{ "info": { "author": "Florian Bruhin", "author_email": "me@the-compiler.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "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" ], "description": "pytest-xvfb\n===================================\n\n.. image:: https://travis-ci.org/The-Compiler/pytest-xvfb.svg?branch=master\n :target: https://travis-ci.org/The-Compiler/pytest-xvfb\n :alt: See Build Status on Travis CI\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/The-Compiler/pytest-xvfb?branch=master\n :target: https://ci.appveyor.com/project/The-Compiler/pytest-xvfb/branch/master\n :alt: See Build Status on AppVeyor\n\nA pytest plugin to run Xvfb for tests.\n\n----\n\nInstallation\n------------\n\nYou can install \"`pytest-xvfb`_\" via `pip`_ from `PyPI`_::\n\n $ pip install pytest-xvfb\n\n\nUsage\n-----\n\nWith Xvfb and the plugin installed, your testsuite automatically runs with `Xvfb`_. This allows tests to be run without windows popping up during GUI tests or on systems without a display (like a CI).\n\nIf Xvfb is not installed, the plugin does not run and your tests will still work as normal. However,\na warning message will print to standard output letting you know that Xvfb is not installed.\n\nIf you're currently using ``xvfb-run`` in something like ``.travis.yml``,\nsimply remove it and install this plugin instead - then you'll also have the\nbenefits of Xvfb locally.\n\nFeatures\n--------\n\nYou can pass ``--no-xvfb`` to explicitly turn off Xvfb (e.g. to visually\ninspect a failure).\n\nYou can mark tests with ``@pytest.mark.no_xvfb`` to skip them when they're\nrunning with Xvfb.\n\nA ``xvfb`` fixture is available with the following attributes:\n\n- ``width``: The configured width of the screen.\n- ``height``: The configured height of the screen.\n- ``colordepth``: The configured colordepth of the screen.\n- ``args``: The arguments to be passed to Xvfb.\n- ``display``: The display number (as int) which is used.\n\nContributing\n------------\n\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-xvfb\" is free and open source software\n\nThanks\n------\n\nThis `pytest`_ plugin was generated with `Cookiecutter`_ along with\n`@hackebrot`_'s `Cookiecutter-pytest-plugin`_ template.\n\nThanks to `@cgoldberg`_ for `xvfbwrapper`_ which was the inspiration for this\nproject.\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n.. _`pytest-xvfb`: https://pypi.python.org/pypi/pytest-xvfb/\n.. _`Xvfb`: http://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml\n.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter\n.. _`@hackebrot`: https://github.com/hackebrot\n.. _`@cgoldberg`: https://github.com/cgoldberg\n.. _`xvfbwrapper`: https://github.com/cgoldberg/xvfbwrapper\n.. _`MIT`: http://opensource.org/licenses/MIT\n.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause\n.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt\n.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0\n.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin\n.. _`file an issue`: https://github.com/The-Compiler/pytest-xvfb/issues\n.. _`pytest`: https://github.com/pytest-dev/pytest\n.. _`tox`: https://tox.readthedocs.org/en/latest/\n.. _`pip`: https://pypi.python.org/pypi/pip/\n.. _`PyPI`: https://pypi.python.org/pypi", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/The-Compiler/pytest-xvfb", "keywords": "", "license": "MIT", "maintainer": "Florian Bruhin", "maintainer_email": "me@the-compiler.org", "name": "pytest-xvfb", "package_url": "https://pypi.org/project/pytest-xvfb/", "platform": "", "project_url": "https://pypi.org/project/pytest-xvfb/", "project_urls": { "Homepage": "https://github.com/The-Compiler/pytest-xvfb" }, "release_url": "https://pypi.org/project/pytest-xvfb/1.2.0/", "requires_dist": null, "requires_python": "", "summary": "A pytest plugin to run Xvfb for tests.", "version": "1.2.0" }, "last_serial": 4667858, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "92a0435a04b6b0e163a9445083601b3e", "sha256": "aafe5136813b92fed05f0878914ab9245c9d70f6d48d011ab772910879878f30" }, "downloads": -1, "filename": "pytest-xvfb-0.1.0.tar.gz", "has_sig": true, "md5_digest": "92a0435a04b6b0e163a9445083601b3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3933, "upload_time": "2016-02-16T18:51:53", "url": "https://files.pythonhosted.org/packages/ae/a9/48329a16374c1936969c8bef59e5882171147e3ee86f16f7465381e6743d/pytest-xvfb-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2061e8bf530a687f555d2f10f8edfe87", "sha256": "bbdff50568b9754aacfcf1b8c7613b2f503fc1066ce39a81e155bb2075c38891" }, "downloads": -1, "filename": "pytest-xvfb-0.2.0.tar.gz", "has_sig": true, "md5_digest": "2061e8bf530a687f555d2f10f8edfe87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4120, "upload_time": "2016-02-27T01:24:10", "url": "https://files.pythonhosted.org/packages/64/5d/0e7d4c370e7b60149990301f2a8dd5bcfdfc690214485c7fb2e0e8d230eb/pytest-xvfb-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "941814aa30e9fb1a9d7cca7711729d9d", "sha256": "0cb80f33fef009eefc5db66a26e2a9f5ccdb4d70d04091604edb78815debcb4c" }, "downloads": -1, "filename": "pytest-xvfb-0.2.1.tar.gz", "has_sig": true, "md5_digest": "941814aa30e9fb1a9d7cca7711729d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4108, "upload_time": "2016-08-09T20:11:02", "url": "https://files.pythonhosted.org/packages/ce/8c/e00dd5bd53898250c9289d571c44f673653e926428b2b267610031fd1c7a/pytest-xvfb-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "fd76bac616019acaef5061384ed0cbfb", "sha256": "93df221046ee2a84a0436eea49dc337478d84bd788c15d3797e3f0332c5eb55f" }, "downloads": -1, "filename": "pytest-xvfb-0.3.0.tar.gz", "has_sig": true, "md5_digest": "fd76bac616019acaef5061384ed0cbfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4616, "upload_time": "2016-09-15T14:39:12", "url": "https://files.pythonhosted.org/packages/fc/c9/9e5948400555e260b474152a2d0e772a62978408e4814db45274c37bf9d0/pytest-xvfb-0.3.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f3d9ebb3822d3189e8acbf476a23a6bc", "sha256": "af276c25ba1db3c25e3fd3c89663b83d05c66b960dfaf0bbde69584686b13ef5" }, "downloads": -1, "filename": "pytest-xvfb-1.0.0.tar.gz", "has_sig": true, "md5_digest": "f3d9ebb3822d3189e8acbf476a23a6bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4093, "upload_time": "2016-11-30T12:10:14", "url": "https://files.pythonhosted.org/packages/2a/45/90c5c70205d4f405f96441ddedf7e6c961d7c4a7777de2e139ed070919e9/pytest-xvfb-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0754da6fb2ed04cb1604eec8c0a3deea", "sha256": "21576c6435613b98b21e8917c6c76654f5e6766df9003c5fec8cba7fd2eede21" }, "downloads": -1, "filename": "pytest-xvfb-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0754da6fb2ed04cb1604eec8c0a3deea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7575, "upload_time": "2018-02-07T08:32:21", "url": "https://files.pythonhosted.org/packages/58/e1/0545dec2b30be5566c6a226af98c0ccff62b9eecc15443df31bb490896b5/pytest-xvfb-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "a5e43fe3926c55b03fc12f4f149f059d", "sha256": "a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979" }, "downloads": -1, "filename": "pytest-xvfb-1.2.0.tar.gz", "has_sig": false, "md5_digest": "a5e43fe3926c55b03fc12f4f149f059d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7642, "upload_time": "2019-01-07T09:13:25", "url": "https://files.pythonhosted.org/packages/3f/54/b783a4df9c12941c5398aef305e4a9f971f38aa60dd4a0bf6c91d4dec2e9/pytest-xvfb-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5e43fe3926c55b03fc12f4f149f059d", "sha256": "a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979" }, "downloads": -1, "filename": "pytest-xvfb-1.2.0.tar.gz", "has_sig": false, "md5_digest": "a5e43fe3926c55b03fc12f4f149f059d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7642, "upload_time": "2019-01-07T09:13:25", "url": "https://files.pythonhosted.org/packages/3f/54/b783a4df9c12941c5398aef305e4a9f971f38aa60dd4a0bf6c91d4dec2e9/pytest-xvfb-1.2.0.tar.gz" } ] }