pytest-dev / pytest-dev/pytest-django
Add a parameter to display migrations
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Currently, when running the tests, the migrations are not displayed as they are applied. Instead, the first test waits until the migration is completed.
A way of showing the migrations as they are applied (just like the regular Django test suite does) will be useful.
This is related as well with issue #306, as it will be a good place to show errors in migrations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how pytest-django invokes Django migrations during the test run and compare that behavior with Django's regular test suite. Identify the existing configuration or command-line parameter entry point, then verify that migrations are displayed as they are applied and that migration errors are visible as described in issue #306.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100