Saturday, April 25, 2020

Test and Code: 110: Testing Django - from unittest to pytest - Adam Parkin

Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.

Adam Parkin, who is known online as CodependentCodr, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.

Special Guest: Adam Parkin.

Sponsored By:

Support Test & Code : Python Testing for Software Engineers

Links:

<p>Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.</p> <p>Adam Parkin, who is known online as <a href="https://twitter.com/codependentcodr" rel="nofollow">CodependentCodr</a>, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.</p><p>Special Guest: Adam Parkin.</p><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2JDHRTz" rel="nofollow">PyCharm Professional</a>: <a href="https://ift.tt/2JDHRTz" rel="nofollow">Try PyCharm Pro for 4 months and learn how PyCharm will save you time.</a> Promo Code: TESTNCODE2020</li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code : Python Testing for Software Engineers</a></p><p>Links:</p><ul><li><a href="https://ift.tt/3cOlwSi" title="Django Tutorial, on testing" rel="nofollow">Django Tutorial, on testing</a></li><li><a href="https://ift.tt/3eOmWhf" title="The Django docs on testing & the test database" rel="nofollow">The Django docs on testing & the test database</a></li><li><a href="https://ift.tt/3eQYYlK" title="The Django docs on the TestCase class" rel="nofollow">The Django docs on the TestCase class</a></li><li><a href="https://ift.tt/2UVp8sZ" title="pytest-django docs" rel="nofollow">pytest-django docs</a></li></ul>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...