pytest-dev / pytest-dev/pytest-django

Add examples from official tutorial to documentation

Open
#256 3 comments 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

I think it would be a good idea to add examples from the testing-chapter of Django's official documentation to the pytest-django documentation:

This would enable users interested in pytest to take a branch in the learning path.

I have been going through the tutorial and am now trying to implement the same tests using pytest. I got some of them to work, but some are a total mystery to me. If there is some interest I can make a PR once I get all of them to work.

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 by reading the linked Django 1.8 testing tutorial and comparing its examples with the current pytest-django documentation. Identify where tutorial examples belong, then document equivalent pytest examples and verify that they cover the tutorial's testing path.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.