4: Test Fixtures: Setup, Teardown, and so much more




Test & Code - Software Testing, Development, Python show

Summary: <ul> <li>Setup and Teardown</li> <li>Benefits of Test Fixtures <ul> <li>code reuse</li> <li>cleanup of resources</li> <li>errors vs failures</li> <li>focusing your thinking on what you are testing and what you are not</li> <li>scoping for efficiency</li> </ul> </li> <li>Brief look at pytest named fixtures</li> </ul> <h2>References</h2> <ul> <li><a href="http://pythontesting.net/framework/pytest/pytest-fixtures/" rel="nofollow">pytest fixtures series</a></li> <li><a href="http://pythontesting.net/framework/pytest/pytest-fixtures-nuts-bolts/" rel="nofollow">pytest fixtures nuts &amp; bolts</a></li> <li><a href="http://pythontesting.net/framework/pytest/pytest-session-scoped-fixtures/" rel="nofollow">pytest session scoped fixtures</a></li> <li><a href="http://pythontesting.net/framework/unittest/unittest-fixtures/" rel="nofollow">unittest fixtures</a></li> <li><a href="http://pythontesting.net/framework/nose/nose-introduction/#fixtures" rel="nofollow">nose fixtures mentioned in introduction</a></li> <li><a href="http://pythontesting.net/framework/nose/nose-fixture-reference/" rel="nofollow">nose fixture reference post</a></li> </ul><p>Sponsored By:</p><ul><li> <a rel="nofollow" href="https://www.patreon.com/testpodcast">Patreon Supporters</a>: <a rel="nofollow" href="https://www.patreon.com/testpodcast">Help support the show with as little as $1 per month. Funds help pay for expenses associated with the show.</a> </li></ul><p><a rel="payment" href="https://www.patreon.com/testpodcast">Support Test &amp; Code - Software Testing, Development, Python</a></p>