pytest-django
pytest-django copied to clipboard
Add examples from official tutorial to documentation
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:
- https://docs.djangoproject.com/en/1.8/intro/tutorial05/
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.
More tutorial-level documentation and examples would be really nice. Using the official Django tutorial as a baseline sounds like a good idea. A PR that adds that to the docs would be very welcome.
Another idea: We are about to start a pytest blog, maybe this kinds of content would fit as a tutorial-style blog post that we could link to from the docs?
I would love any examples to the documentation here so I could get started. Now I'm having to scrounge up some which last time round didn't turn out to be very easy.
If I could find the time, I would be interested in doing this.