<commit_before>.. include:: ../global.rst

Jedi Testing
============

You want to add a test for |jedi|? Great! We love that. Normally you should
write your tests as :ref:`Blackbox Tests <blackbox>`. Most tests would
fit right in there.

.. _blackbox:

Blackbox Tests (run.py)
~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.run

Regression Tests (regression.py)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.regression

Refactoring Tests (refactor.py)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.refactor<commit_msg>Fix ImportError when building Sphinx<commit_after>.. include:: ../global.rst

Jedi Testing
============

You want to add a test for |jedi|? Great! We love that. Normally you should
write your tests as :ref:`Blackbox Tests <blackbox>`. Most tests would
fit right in there.

.. _blackbox:

Blackbox Tests (run.py)
~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.run

Regression Tests (test_regression.py)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.test_regression

Refactoring Tests (refactor.py)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: test.refactor
{'fraction_non_alphanumeric': 0.2739602169981917, 'fraction_numerical': 0.0, 'mean_word_length': 5.049180327868853, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2446454', 'n_tokens_mistral': 342, 'n_tokens_neox': 321, 'n_words': 103}