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

11/09/2015 13 min Episodio 4
4: Test Fixtures: Setup, Teardown, and so much more

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

Episode Synopsis



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
pytest fixtures nuts & bolts
pytest session scoped fixtures
unittest fixtures
nose fixtures mentioned in introduction
nose fixture reference post