<commit_before>Welcome to pytest-flask's documentation!
========================================

Pytest-flask is a plugin for `py.test <http://pytest.org>`_ that provides
a set of useful tools to test `Flask <http://flask.pocoo.org>`_ applications
and extensions.

.. toctree::
   :maxdepth: 4

   tutorial
   features
   contributing


Quickstart
----------

Install plugin via ``pip``::

    pip install pytest-flask

Define your application fixture in ``conftest.py``:

.. code:: python

    from myapp import create_app<commit_msg>Add intro before user's guide<commit_after>Welcome to pytest-flask's documentation!
========================================

Pytest-flask is a plugin for `py.test <http://pytest.org>`_ that provides
a set of useful tools to test `Flask <http://flask.pocoo.org>`_ applications
and extensions.


User's Guide
------------

This part of the documentation will show you how to get started in using
pytest-flask with your application.

.. toctree::
   :maxdepth: 4

   tutorial
   features
   contributing


Quickstart
----------

Install plugin via ``pip``::

    pip install pytest-flask

Define your application fixture in ``conftest.py``:

.. code:: python

    from myapp import create_app
{'fraction_non_alphanumeric': 0.17455138662316477, 'fraction_numerical': 0.0016313213703099511, 'mean_word_length': 3.630188679245283, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '294378', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 125}