# Teemu/pytest-sugar

a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)

Repository: https://github.com/Teemu/pytest-sugar
Canonical: https://ross.abutalabs.com/products/pytest-sugar
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: pytest, pytest-sugar, python, testing, pytest-plugin
Last push: 2025-12-12T14:52:24+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 56, release rhythm 44, longevity 100
- inputs: {"age_days": 4817, "days_push": 264, "days_rel": 375, "gap_med": 6, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1532, forks 82 (observed 2026-08-28T04:04:59.449245+00:00)

## What it is
pytest-sugar is a pytest plugin that improves the terminal output of test runs with a progress bar, instant failure display, and better-formatted results. It activates automatically once installed and offers options like --old-summary, --force-sugar, and Playwright trace integration.

## Use cases
- show test failures instantly while running pytest
- add a progress bar to pytest output
- make pytest terminal output prettier and easier to read
- see detailed failure summaries instead of one-line tracebacks
- force enhanced pytest output in CI environments
- display Playwright trace files alongside test results

## When to choose
- you run pytest frequently and want faster feedback on failures
- you find pytest's default terminal output hard to scan
- you want a zero-config drop-in improvement to test reporting
- you use Playwright and want trace files surfaced in test output

## When to avoid
- you need machine-parseable test output (e.g. for CI log parsing)
- your tooling conflicts with non-default pytest terminal reporters
- you rely on other plugins that override pytest's output format

## Facets
- artifact type: plugin
- maturity: active
- function: testing, developer-tools, cli
- domain: testing, developer-tools
- platform: python, cli, cross-platform
- tags: pytest-plugin, test-output, progress-bar, terminal-output, developer-experience, command-line

## Member repositories
- Teemu/pytest-sugar (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.449245+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:18.248609+00:00, confidence not recorded.
  - readme: https://github.com/Teemu/pytest-sugar (fetched 2026-08-28T04:04:59.449245+00:00, sha 467d4fc4b6f0)
  - registry_pypi: https://pypi.org/pypi/pytest-sugar/json (fetched 2026-08-29T11:33:29.997444+00:00, sha 19a5fe2e61a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
