pytest-dev / pytest-dev/pytest-django
Add examples from official tutorial to documentation
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
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 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