Thursday, October 7, 2021

Test and Code: 165: pytest xfail policy and workflow

A discussion of how to use the xfail feature of pytest to help with communication on software projects.

The episode covers:

  • What is xfail
  • Why I use it
  • Using reason effectively by including issue tracking numbers
  • Using xfail_strict
  • Adding --runxfail when transitioning from development to feature freeze
  • What to do about test failures
  • How all of this might help with team communication

Sponsored By:

Support Test & Code

<p>A discussion of how to use the xfail feature of pytest to help with communication on software projects.</p> <p>The episode covers:</p> <ul> <li>What is xfail</li> <li>Why I use it</li> <li>Using <code>reason</code> effectively by including issue tracking numbers</li> <li>Using <code>xfail_strict</code></li> <li>Adding <code>--runxfail</code> when transitioning from development to feature freeze</li> <li>What to do about test failures</li> <li>How all of this might help with team communication</li> </ul><p>Sponsored By:</p><ul><li><a href="https://ift.tt/2tzXV5e" rel="nofollow">Patreon Supporters</a>: <a href="https://ift.tt/2tzXV5e" rel="nofollow">Help support the show with as little as $1 per month and be the first to know when new episodes come out.</a></li></ul><p><a href="https://ift.tt/2tzXV5e" rel="payment">Support Test & Code</a></p>

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...