{ "info": { "author": "Andrea Zonca", "author_email": "code@andreazonca.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: C++", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "pytest-ipynb\n============\n\nPlugin for ``pytest`` to run IPython notebooks as unit tests, relies on `runipy` to interface with the Notebook.\n\nDefine unit tests in IPython notebook cells (`see example on\nnbviewer `_):\n\n.. figure:: https://github.com/zonca/pytest-ipynb/raw/master/img/pytest-ipynb_notebook.png\n :alt: Example notebook\n\nRun ``py.test`` to execute them:\n\n.. figure:: https://github.com/zonca/pytest-ipynb/raw/master/img/pytest-ipynb_output.png\n :alt: Example output\n\nExample\n-------\n\nSee the ``examples/`` folder or `a preview on\nnbviewer `_.\n\nFeatures\n--------\n\n- Discover files named ``test*.ipynb``\n- Run each cell of the notebook as a unit test (just use ``assert``)\n- First line of each cell is the test name, either as docstring,\n comment or function name\n- A cell named ``fixture*`` or ``setup*`` is run before each of the\n following unit tests as a fixture\n- Add `SKIPCI` to a cell description to skip the test on Travis-CI (checks if the `CI` environment variable is defined)\n- IPython notebook kernel is restarted after each test\n- Each notebook is executed in the folder where the ``.ipynb`` file is located\n\nRequirements\n------------\n\n- Python 2.7+, Python 3.2+\n- ``pytest``\n- IPython Notebook 2.0+\n\nInstall\n-------\n\n::\n\n $ pip install pytest-ipynb\n\nAuthor\n------\n\n`Andrea Zonca `__\n\nCredits\n-------\n\n- ``__\n- Thomas Kluyver for help on the IPython mailing list", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/zonca/pytest-ipynb", "keywords": "pytest test unittest ipython notebook", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-ipynb", "package_url": "https://pypi.org/project/pytest-ipynb/", "platform": "", "project_url": "https://pypi.org/project/pytest-ipynb/", "project_urls": { "Homepage": "http://github.com/zonca/pytest-ipynb" }, "release_url": "https://pypi.org/project/pytest-ipynb/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "THIS PROJECT IS ABANDONED", "version": "1.1.1" }, "last_serial": 4756179, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "b7e7c4a4ab4df550d4d2e8032c376f7b", "sha256": "59124439103ce7e177701298b90478992f29bebc97b48f26bc2a1641b6018362" }, "downloads": -1, "filename": "pytest_ipynb-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b7e7c4a4ab4df550d4d2e8032c376f7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5924, "upload_time": "2019-01-29T18:43:03", "url": "https://files.pythonhosted.org/packages/f7/5d/e2a3640d2e491bd48af017882fc2a66d804de8730358298735ea2c3ae84a/pytest_ipynb-1.1.0-py3-none-any.whl" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "e8e0e31f49c3574537571a3ecd605171", "sha256": "fca7ab0f75475cadcf0f6c0340b60be14b0174fd79a779b9c3865440ecc32183" }, "downloads": -1, "filename": "pytest-ipynb-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e8e0e31f49c3574537571a3ecd605171", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3736, "upload_time": "2019-01-29T18:46:36", "url": "https://files.pythonhosted.org/packages/36/59/c37eb45b309a3bd7ce63871e03a291197a1dde53c4acfc413fb2b04c7a82/pytest-ipynb-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8e0e31f49c3574537571a3ecd605171", "sha256": "fca7ab0f75475cadcf0f6c0340b60be14b0174fd79a779b9c3865440ecc32183" }, "downloads": -1, "filename": "pytest-ipynb-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e8e0e31f49c3574537571a3ecd605171", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3736, "upload_time": "2019-01-29T18:46:36", "url": "https://files.pythonhosted.org/packages/36/59/c37eb45b309a3bd7ce63871e03a291197a1dde53c4acfc413fb2b04c7a82/pytest-ipynb-1.1.1.tar.gz" } ] }