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

Published: Sept. 11, 2015, 4 p.m.

Setup and Teardown Benefits of Test Fixtures code reuse cleanup of resources errors vs failures focusing your thinking on what you are testing and what you are not scoping for efficiency Brief look at pytest named fixtures References pytest fixtures series (http://pythontesting.net/framework/pytest/pytest-fixtures/) pytest fixtures nuts & bolts (http://pythontesting.net/framework/pytest/pytest-fixtures-nuts-bolts/) pytest session scoped fixtures (http://pythontesting.net/framework/pytest/pytest-session-scoped-fixtures/) unittest fixtures (http://pythontesting.net/framework/unittest/unittest-fixtures/) nose fixtures mentioned in introduction (http://pythontesting.net/framework/nose/nose-introduction/#fixtures) nose fixture reference post (http://pythontesting.net/framework/nose/nose-fixture-reference/)