pytest-django icon indicating copy to clipboard operation
pytest-django copied to clipboard

Add examples from official tutorial to documentation

Open tobias47n9e opened this issue 10 years ago • 3 comments
trafficstars

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.

tobias47n9e avatar Aug 16 '15 19:08 tobias47n9e

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?

pelme avatar Aug 17 '15 06:08 pelme

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.

alper avatar Jan 30 '20 21:01 alper

If I could find the time, I would be interested in doing this.

alper avatar Jan 30 '20 21:01 alper