{ "info": { "author": "Richard V\u00e9zina", "author_email": "ml.richard.vezina@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Testing" ], "description": "pytest-session_to_file\n======================\n\npytest-session_to_file is a py.test plugin that save failure or test session information to a file pass that can be\ninvoked as at command line when launching py.test run. It put in a file exactly what pytest return to stdout.\n\n**Installation**\n\n\nInstall it with pip as follow :\n\n pip install pytest-pytest_session_to_file\n\n\n**Usage**\n\n\nOnce the plugin is installed edit your `conftest.py` and insert in the top of the file :\n\n pytest_plugins = 'pytest_session_to_file'\n\nThen you can launch your test with the new option `--session_to_file=` like this :\n\n py.test --session_to_file=FILENAME\n\nIf you don't want to edit your `conftest.py` you can invoque py.test like this :\n\n py.test -p pytest_session_to_file --session_to_file=FILENAME\n\nAt the end of the test execution you should obtain a text file with the content of stdout of py.test under the filename\nprovided that look like this :\n\n============== test session starts ====================\n\n...\n\n============== 2 passed in 34.70 seconds ==============\n\n\n**TODO:** Write test\n\n**Inspire by:** _pytest.pastebin\n\n**Ref:** https://github.com/pytest-dev/pytest/blob/master/_pytest/pastebin.py\n\n\n\n**Platforms:** All\n\n**Version:** 0.1.0\n\n**Date:** 30 sept. 2015 11:25\n\n**License:** LGPLv3 (http://www.gnu.org/licenses/lgpl.html)\n\nCopyright (C) 2015 Richard V\u00e9zina ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/pytest-session_to_file", "keywords": "py.test pytest plugin plugins", "license": "LGPLv3 (http://www.gnu.org/licenses/lgpl.html)", "maintainer": null, "maintainer_email": null, "name": "pytest-session_to_file", "package_url": "https://pypi.org/project/pytest-session_to_file/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-session_to_file/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi/pytest-session_to_file" }, "release_url": "https://pypi.org/project/pytest-session_to_file/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "pytest-session_to_file is a py.test plugin for capturing and saving to file the stdout of py.test.", "version": "0.1.2" }, "last_serial": 1747478, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1f8f55fbaaf2f9841872f3bd8a42fcd6", "sha256": "585b13d445b416dccf5cd31e0eab34b8b9e50a184bc99614dd73ff76fbc4f3e3" }, "downloads": -1, "filename": "pytest-session_to_file-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f8f55fbaaf2f9841872f3bd8a42fcd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3177, "upload_time": "2015-10-01T15:33:55", "url": "https://files.pythonhosted.org/packages/7a/e8/fcc87943a1c7989ed7dc5a967784610e20de2510d5f5eefb9a755235ead2/pytest-session_to_file-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "367eae33e0947f495a8a6b45a7f33f95", "sha256": "93d9a0f0146300427c4ea8fe418beed131ede454bc0abcbb33153d3be7abe9ae" }, "downloads": -1, "filename": "pytest-session_to_file-0.1.1.tar.gz", "has_sig": false, "md5_digest": "367eae33e0947f495a8a6b45a7f33f95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2074, "upload_time": "2015-10-01T16:25:03", "url": "https://files.pythonhosted.org/packages/8a/d1/0bc0c81e0e2e0aadebf544e3d078fcbb800af11063530852b047b9531929/pytest-session_to_file-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ad60dc03d5c9916d5176d67dbf955fff", "sha256": "b1250d157dfc6cceffb11c49f4e9ce471996b3296b9089ba7ca3a76520f02afc" }, "downloads": -1, "filename": "pytest-session_to_file-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ad60dc03d5c9916d5176d67dbf955fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2074, "upload_time": "2015-10-01T16:34:23", "url": "https://files.pythonhosted.org/packages/b1/49/282a3d1f42535f8438d5666bb9ae279c3e44f40b7654d40df92f4524452c/pytest-session_to_file-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad60dc03d5c9916d5176d67dbf955fff", "sha256": "b1250d157dfc6cceffb11c49f4e9ce471996b3296b9089ba7ca3a76520f02afc" }, "downloads": -1, "filename": "pytest-session_to_file-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ad60dc03d5c9916d5176d67dbf955fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2074, "upload_time": "2015-10-01T16:34:23", "url": "https://files.pythonhosted.org/packages/b1/49/282a3d1f42535f8438d5666bb9ae279c3e44f40b7654d40df92f4524452c/pytest-session_to_file-0.1.2.tar.gz" } ] }