208: Tests with no assert statements
Why on earth would you want to write a test with no assert statements?
After all, aren't assert statements how you decide wether a test passes or fails?
In this episode, we walk through a handful of useful examples of test code without asserts.
We also talk about how these types of tests are a great way to dip your toe into testing.
After all, aren't assert statements how you decide wether a test passes or fails?
In this episode, we walk through a handful of useful examples of test code without asserts.
We also talk about how these types of tests are a great way to dip your toe into testing.
Learn pytest
- pytest is the number one test framework for Python.
- Learn the basics super fast with Hello, pytest!
- Then later you can become a pytest expert with The Complete pytest Course
- Both courses are at courses.pythontest.com
Creators and Guests
