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.
Links:
- Django Tutorial, on testing
- The Django docs on testing & the test database
- The Django docs on the TestCase class
- pytest-django docs
Fler avsnitt av Test & Code
Visa alla avsnitt av Test & CodeTest & Code med Brian Okken finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.
