In an interview, software engineer and author Brian Okken discusses the popular pytest Python testing tool, as well as his book, Python testing with pytest. The interview begins with an exploration into pytest's popularity in the Python community; what makes pytest unique; the setup and teardown of tests using fixtures, parameterization, and the plug-in 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 tests to support refactoring. The interview also examines some complementary tools that can improve the python testing experience.
From Software Engineering Radio
Listen to Complete Podcast
No entries found