{ "info": { "author": "Charlie Hornsby", "author_email": "charlie.hornsby@hotmail.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "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.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "# pytest-pikachu\n\n`pytest-pikachu` prints ascii art of [Surprised Pikachu][0] when all tests pass.\n\n## Usage\n\nPass the `--pikachu` option to `pytest` as a command line flag or configuration\nfile option to get these stunning effects.\n\n```\n$ pytest --pikachu\n============================= test session starts ==============================\nplatform linux -- Python 3.7.1, pytest-5.1.3, py-1.8.0, pluggy-0.13.0\nrootdir: /home/.../pytest-pikachu, inifile: tox.ini, testpaths: tests\nplugins: pikachu-0.1.0\ncollected 4 items\n\ntests/test_plugin.py .... [100%]\n\n============================== 4 passed in 0.25s ===============================\n\n\u2880\u28e0\u28fe\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2800\u2800\u2800\u2800\u28e0\u28e4\u28f6\u28f6\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2800\u2800\u2800\u28b0\u28ff\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28e7\u28c0\u28c0\u28fe\u28ff\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u284f\u2809\u281b\u28bf\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u287f\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2800\u2800\u2800\u2808\u281b\u28bf\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u283f\u281b\u2809\u2801\u2800\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28e7\u2840\u2800\u2800\u2800\u2800\u2819\u283f\u283f\u283f\u283b\u283f\u283f\u281f\u283f\u281b\u2809\u2800\u2800\u2800\u2800\u2800\u28f8\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28f7\u28c4\u2800\u2840\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2880\u28f4\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u280f\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2820\u28f4\u28ff\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u285f\u2800\u2800\u28b0\u28f9\u2846\u2800\u2800\u2800\u2800\u2800\u2800\u28ed\u28f7\u2800\u2800\u2800\u2838\u28ff\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2803\u2800\u2800\u2808\u2809\u2800\u2800\u2824\u2804\u2800\u2800\u2800\u2809\u2801\u2800\u2800\u2800\u2800\u28bf\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28be\u28ff\u28f7\u2800\u2800\u2800\u2800\u2860\u2824\u2884\u2800\u2800\u2800\u2820\u28ff\u28ff\u28f7\u2800\u28b8\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2840\u2809\u2800\u2800\u2800\u2800\u2800\u2884\u2800\u2880\u2800\u2800\u2800\u2800\u2809\u2809\u2801\u2800\u2800\u28ff\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28e7\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2808\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u28b9\u28ff\u28ff\n\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u28ff\u2803\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u28b8\u28ff\u28ff\n\n```\n\n## Prior art\n\nI wrote this `pytest` plugin after seeing [this Reddit thread][1]. I used the\nanswer in [this Stack Overflow question][2] on how to pass information between\ndifferent `pytest` hooks.\n\n## License\n\nDistributed under the terms of the MIT license, `pytest-pikachu` is free and\nopen source software.\n\n[0]: https://en.meming.world/wiki/Surprised_Pikachu\n[1]:\n https://www.reddit.com/r/ProgrammerHumor/comments/a381ur/the_correct_reaction_to_unit_tests_passing/\n[2]: https://stackoverflow.com/a/53640991\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/chornsby/pytest-pikachu", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-pikachu", "package_url": "https://pypi.org/project/pytest-pikachu/", "platform": "", "project_url": "https://pypi.org/project/pytest-pikachu/", "project_urls": { "Homepage": "https://gitlab.com/chornsby/pytest-pikachu" }, "release_url": "https://pypi.org/project/pytest-pikachu/0.1.0/", "requires_dist": [ "pytest" ], "requires_python": "", "summary": "Show surprise when tests are passing", "version": "0.1.0" }, "last_serial": 5907911, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4b8cb4e8c946c6ca1d29a8b7859c1c62", "sha256": "82aa30ed89592442406336e9287eb8f98d7da63509b363c7a8913049c6b8c37b" }, "downloads": -1, "filename": "pytest_pikachu-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4b8cb4e8c946c6ca1d29a8b7859c1c62", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4376, "upload_time": "2019-09-30T17:01:47", "url": "https://files.pythonhosted.org/packages/d3/36/d2131919fdb53f78c88ad4824e3d014df90179fc8af2aa43336139bb4bb1/pytest_pikachu-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b7078d2986e26907de1593a8ba18faf", "sha256": "424d7206955b8e9c3a6ba4b6d572d5ef2bb7a9e8c69df69ccd08e38c19189eb1" }, "downloads": -1, "filename": "pytest-pikachu-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6b7078d2986e26907de1593a8ba18faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2950, "upload_time": "2019-09-30T17:01:49", "url": "https://files.pythonhosted.org/packages/97/81/a3ebc6686b61da5de290239a9c9026b6f8c2fae06c66904945bef7847eab/pytest-pikachu-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b8cb4e8c946c6ca1d29a8b7859c1c62", "sha256": "82aa30ed89592442406336e9287eb8f98d7da63509b363c7a8913049c6b8c37b" }, "downloads": -1, "filename": "pytest_pikachu-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4b8cb4e8c946c6ca1d29a8b7859c1c62", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4376, "upload_time": "2019-09-30T17:01:47", "url": "https://files.pythonhosted.org/packages/d3/36/d2131919fdb53f78c88ad4824e3d014df90179fc8af2aa43336139bb4bb1/pytest_pikachu-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b7078d2986e26907de1593a8ba18faf", "sha256": "424d7206955b8e9c3a6ba4b6d572d5ef2bb7a9e8c69df69ccd08e38c19189eb1" }, "downloads": -1, "filename": "pytest-pikachu-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6b7078d2986e26907de1593a8ba18faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2950, "upload_time": "2019-09-30T17:01:49", "url": "https://files.pythonhosted.org/packages/97/81/a3ebc6686b61da5de290239a9c9026b6f8c2fae06c66904945bef7847eab/pytest-pikachu-0.1.0.tar.gz" } ] }