pytest-dev / pytest-dev/pytest-django

How to Run Tests of Third Party Apps

Open
#856 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How can I run the tests of third party apps? With the default Django test runner, it would be as trivial as issuing: ./manage.py <name_of_the_installed_app>

But this seems not to be the case with pytest. If I install a third-party app and put it inside the istalled_app, how can I run the app's tests using pytest?

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

The issue names no files or tests. Start by comparing pytest-django's documented test invocation with Django's default test-runner behavior, then verify how an installed third-party app's tests are selected; done means documenting a reproducible command or clearly stating the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, testing
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.