

Episode 516: Brian Okken on Testing in Python with pytest
source link: https://www.se-radio.net/2022/06/episode-516-brian-okken-on-testing-in-python-with-pytest/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Episode 516: Brian Okken on Testing in Python with pytest
In this episode, Nikhil Krishna discusses the popular pytest Python testing tool with Brian Okken, author of Python Testing with pytest. They start by exploring why pytest is so popular in the Python community, including its focus on simplicity, readability, and developer ease-of-use; what makes pytest unique; the setup and teardown of tests using fixtures, parameterization, and the plugin ecosystem; mocking; why we should design for testing, and how to reduce the need for mocking; how to set up a project for testability; test-driven development, and designing your tests to support refactoring. Finally, the episode examines some complementary tools that can improve the python testing experience.
Related Links
Related SE Radio Shows
SE Radio theme: “Broken Reality” by Kevin MacLeod (incompetech.com — Licensed under Creative Commons: By Attribution 3.0)
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | RSS
Recommend
-
18
Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and ensures that changes to your code won’t cause regressions. Writing and maintaining tests is hard wo...
-
16
Testing an Interactive Voice Response System With Python and Pytest Following my previous article on how to build an Interactive Voice Response (IVR) system with Twi...
-
9
Python Testing with pytest Simple, Rapid, Effective, and Scalable by Brian Okken Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest t...
-
7
Testing Flask Applications with PytestThis articles serves as a guide to testing Flask applications with pytest. We'll first look at why testing is important for creating maintainable so...
-
4
Working Code Podcast - Episode 037: Brian Klaas Talks Cloud By Ben Nadel on August 25, 2021 Tags:
-
4
A test is code that executes code. When you start developing a new feature for your Python project, you could formalize its requirements as code. When you do so, you not only document the way your implementation's code shall be used, but you...
-
7
Testing Your Code With pytest Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and ensures that cha...
-
12
How I Use Pytest Fixtures for System Testing Our team uses the Pytest framework to write system tests for...
-
11
Getting Started With Property-Based Testing in Python With Hypothesis and Pytest 19 Jan 2023 · Software Engineering Getting Started...
-
2
Johanna Rothman, Management Consultant Skip to content
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK