February 18th, 2021 | 48 mins 44 secs
mock, mocking, python, tdd, unittest
A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.
May 2nd, 2020 | 48 mins 34 secs
pytest, python, software testing, subtest, unittest
Subtests are a way to continue a test function after an assert fails.
Paul Ganssle and Brian Okken discuss what subtests are, why you might want them, and what to watch out for if you use them.
April 25th, 2020 | 24 mins 56 secs
django, pytest, software testing, unittest
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.
February 17th, 2019 | 19 mins 52 secs
assert, automated testing, pytest, software testing, test structure, unittest
Is it ok to have more than one assert statement in a test?
I've seen articles that say no, you should never have more than one assert.
I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.
Where did this recommendation even come from? What are the reasons?
What are the downsides to both perspectives?
That's what we're going to talk about today.
June 15th, 2016 | 40 mins 25 secs
Python's unittest module, advanced features, comparison to pytest, future features, and more.
February 17th, 2016 | 20 mins 43 secs
fixtures, pytest, requests, unittest
Interview with Ian Cordasco
February 3rd, 2016 | 13 mins 46 secs
assert, magic, nose, pytest, unittest
How pytest, unittest, and nose deal with assertions
January 30th, 2016 | 20 mins 24 secs
bdd, given-when-then, nose, pytest, unittest
It doesn’t matter if you are using pytest, unittest, nose, or something completely different, this episode will help you write better tests.
January 18th, 2016 | 45 mins 14 secs
django, functional testing, pytest, tdd, unittest
I interview Harry Percival, author of "Test-Driven Development with Python".
September 23rd, 2015 | 7 mins 34 secs
nose, pytest, test class, unittest
Test Classes: No OO experience required