Test & Code

110: Testing Django - from unittest to pytest - Adam Parkin


Listen Later

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



...more
View all episodesView all episodes
Download on the App Store

Test & CodeBy Brian Okken

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

70 ratings


More shows like Test & Code

View all
Radiolab by WNYC Studios

Radiolab

43,838 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

623 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

327 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

585 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,035 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

142 Listeners

Unexplainable by Vox

Unexplainable

2,308 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners