pytest-dev / pytest-dev/pytest-django

Listing test progress verbosely without verbose database creation?

Open
#292 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
1.5k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

I like to use -vvv to see a nice list of tests as they're being run, but that has the side effect of database creation verbose.

I don't really like scrolling through page after page of migrate output when a test fails, so my question is:

Is there a way of getting test progress like with -vvv but without database creation verbosity?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at pytest_django/fixtures.py lines 52-55 and trace how -vvv reaches database creation output. Done means test progress remains visible while database creation migration output is suppressed; the issue does not name a test file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
databases, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.