All Projects → asottile → pygments-pytest

asottile / pygments-pytest

Licence: MIT license
A pygments lexer for pytest output

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pygments-pytest

jwql
The James Webb Space Telescope Quicklook Application
Stars: ✭ 42 (+82.61%)
Mutual labels:  sphinx, pytest
Python Blueprint
🐍 Example Python project using best practices 🔩
Stars: ✭ 123 (+434.78%)
Mutual labels:  sphinx, pytest
Best Of Python Dev
🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.
Stars: ✭ 243 (+956.52%)
Mutual labels:  sphinx, pytest
sphinxql
SphinxQL query builder for Node.js. sphinxql package supports Manticore Search and Sphinx Search
Stars: ✭ 21 (-8.7%)
Mutual labels:  sphinx
pylint-pytest
A Pylint plugin to suppress pytest-related false positives.
Stars: ✭ 2 (-91.3%)
Mutual labels:  pytest
pytest-embedded
A pytest plugin that designed for embedded testing
Stars: ✭ 40 (+73.91%)
Mutual labels:  pytest
pytest-datafiles
pytest plugin to create a tmpdir containing a preconfigured set of files and/or directories.
Stars: ✭ 75 (+226.09%)
Mutual labels:  pytest
Semantic-Textual-Similarity
Natural Language Processing using NLTK and Spacy
Stars: ✭ 30 (+30.43%)
Mutual labels:  pytest
pytest-variables
Plugin for providing variables to pytest tests/fixtures
Stars: ✭ 69 (+200%)
Mutual labels:  pytest
flask for startups
Flask boilerplate using a services oriented structure
Stars: ✭ 210 (+813.04%)
Mutual labels:  pytest
sphinx-hoverxref
Sphinx extension to show tooltips with content embedded when hover a reference.
Stars: ✭ 77 (+234.78%)
Mutual labels:  sphinx
gui-python-gtk
Repositório criado para documentar e centralizar conteúdos, dicas, tutoriais e exemplos de código sobre a construção de interfaces com a linguagem de programação Python (PyGObject) e o toolkit gráfico Gtk 4.
Stars: ✭ 85 (+269.57%)
Mutual labels:  sphinx
sphinx-codeautolink
Automatic links from code examples to reference documentation
Stars: ✭ 41 (+78.26%)
Mutual labels:  sphinx
moja global docs
Repository to host the moja global technical documentation
Stars: ✭ 35 (+52.17%)
Mutual labels:  sphinx
sphinx press theme
A Sphinx-doc theme based on Vuepress
Stars: ✭ 113 (+391.3%)
Mutual labels:  sphinx
overhave
Web-framework for BDD: scalable, configurable, easy to use, based on Flask Admin and Pydantic.
Stars: ✭ 61 (+165.22%)
Mutual labels:  pytest
nbcelltests
Cell-by-cell testing for production Jupyter notebooks in JupyterLab
Stars: ✭ 66 (+186.96%)
Mutual labels:  pytest
pytest-envvars
Pytest plugin to validate use of envvars on your tests
Stars: ✭ 21 (-8.7%)
Mutual labels:  pytest
pytest-reverse
Pytest plugin to reverse test order.
Stars: ✭ 20 (-13.04%)
Mutual labels:  pytest
universe-topology
A universal computer knowledge topology for all the programmers worldwide.
Stars: ✭ 47 (+104.35%)
Mutual labels:  pytest

Build Status Azure DevOps coverage Build Status pre-commit.ci status

pygments-pytest

A pygments lexer for pytest output

See some demos! Or see it in action on pytest.org.

Installation

pip install pygments-pytest

Usage

This library provides a pygments lexer called pytest.

.. code-block:: pytest

    $ pytest test.py
    ========================== test session starts ===========================
    platform linux -- Python 3.6.6, pytest-4.0.1.dev43+g0d529847.d20181123, py-1.7.0, pluggy-0.8.0
    rootdir: /home/asottile/workspace/pytest, inifile: tox.ini
    collected 1 item

    test.py .                                                          [100%]

    ======================== 1 passed in 0.01 seconds ========================

This library also provides a sphinx extension. It can be enabled by adding 'pygments_pytest' to the extensions setting in your conf.py.

The colors can be tweaked using the sphinx setting (in conf.py) pygments_pytest_ansi_colors:

pygments_pytest_ansi_colors = {
    'Cyan': '#06989a',
    'Green': '#4e9a06',
    'Red': '#c00',
    'Yellow': '#c4A000',
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].