Metadata-Version: 1.1
Name: pytest-nbsmoke
Version: 0.1.6
Summary: Basic notebook checks. Do they run? Do they contain lint?
Home-page: https://github.com/ContinuumIO/nbsmoke
Author: pytest-nbsmoke contributors
Author-email: UNKNOWN
License: BSD-3
Description-Content-Type: UNKNOWN
Description: .. image:: https://travis-ci.org/ContinuumIO/nbsmoke.svg?branch=master
            :target: https://travis-ci.org/ContinuumIO/nbsmoke
            :alt: See Build Status on Travis CI
        
        .. image:: https://ci.appveyor.com/api/projects/status/sk3qp2w9oovkg4wb/branch/master?svg=true
            :target: https://ci.appveyor.com/project/ContinuumAnalytics/nbsmoke/branch/master
            :alt: See Build Status on AppVeyor
        
        
        ==============
        pytest-nbsmoke
        ==============
        
        Basic notebook smoke tests: Do they run ok? Do they contain lint?
        
        **WARNING: early stage proof of concept; work in progress. Use at your
        own risk.**
        
        In particular, this extension is supposed to handle ipython magics as
        far as possible, but has not yet been widely tested.
        
        ----
        
        This `Pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `Cookiecutter-pytest-plugin`_ template.
        
        
        Requirements
        ------------
        
        * ``pytest>=3.1.1``
        * ``jupyter_client``
        * ``ipykernel``
        * ``nbformat``
        * ``nbconvert``
        * ``pyflakes``
        
        
        Installation
        ------------
        
        You can install "pytest-nbsmoke" via `pip`_ from `PyPI`_::
        
            $ pip install pytest-nbsmoke
        
        
        Usage
        -----
        
        Check all notebooks in examples/ run without errors::
        
            $ pytest --nbsmoke-run examples/
        
        Check all notebooks in examples/ run without errors, and store html to
        look at afterwards::
        
            $ pytest --nbsmoke-run --store-html=/scratch examples/
        
        Lint check notebooks in examples/::
        
            $ pytest --nbsmoke-lint notebooks/
        
        Instead of all files in a directory, you can specify a list e.g.::
        
            $ pytest --nbsmoke-run notebooks/Untitled*.ipynb
        
        Additional options are available by standard pytest 'ini'
        configuration in setup.cfg, pytest.ini, or tox.ini::
        
            [pytest]
            # when running, seconds allowed per cell (see nbconvert timeout)
            cell_timeout = 600
        
            # notebooks to skip running; one case insensitive re to match per line
            skip_run = ^.*skipme\.ipynb$
                       ^.*skipmetoo.*$
        
            # case insensitive re to match for file to be considered notebook;
            # defaults to ``^.*\.ipynb``
            it_is_nb_file = ^.*\.something$
        
        
        Contributing
        ------------
        
        First, install using ``pip install -e .``. Then run the tests using
        ``tox`` or ``pytest -v tests/``.
        
        New release to PyPI: ``git tag -a x.y.z -m "Something about release"
        && git push --tags``.
        
        
        License
        -------
        
        Distributed under the terms of the `BSD-3`_ license, "pytest-nbsmoke"
        is free and open source software.
        
        
        Issues
        ------
        
        If you encounter any problems, please `file an issue`_ (ideally
        including a copy of any problematic notebook).
        
        .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
        .. _`@hackebrot`: https://github.com/hackebrot
        .. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
        .. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
        .. _`file an issue`: https://github.com/ContinuumIO/pytest-nbsmoke/issues
        .. _`pytest`: https://github.com/pytest-dev/pytest
        .. _`tox`: https://tox.readthedocs.io/en/latest/
        .. _`pip`: https://pypi.python.org/pypi/pip/
        .. _`PyPI`: https://pypi.python.org/pypi
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: BSD License
