Contribute Media
A thank you to everyone who makes this possible: Read More

xfail and skip: What to do with tests you know will fail


What do you do with a test you know will fail? Skip it? Mark it as xfail? Or wait until the test is passing before adding it to your test suite? In this talk, I’ll explain pytest’s skipif and xfail, and dive into various strategies for dealing with tests that will not pass.

Speaker: Paul Ganssle Paul Ganssle is a software developer, CPython core developer, maintainer of python-dateutil and setuptools and contributor to many other open source projects. He lives just outside of Hartford, CT with his family, where he guards an ancient treasure intended to be mankind’s legacy. Expressions of opinion do not necessarily reflect the views of his employer.


Improve this page