PythonTest
  • Home
  • Start Here
  • pytest Book
  • pytest Course
  • Top pytest plugins
  • Podcasts Archive Support Newsletter Contact Python People Podcast Test and Code Podcast Archive
Search posts...
testandcode

Test and Code 5 - Test Classes - No OO experience required

Brian Okken
23 Sep, 2015 - 1 min read
  • Test and Code Episode Archive
  • XML feed URL for podcast players
  • 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
  • how to run a single class
Older post

Test and Code 4 - Test Fixtures - Setup, Teardown, and so much more

Newer post

Test and Code 6 - Writing software is like nothing else

Related

testandcode

Test and Code 238 - So Long, and Thanks for All the Fish

A farewell to a fun 10 years.Also, I should have tested it better. )In the audio I got the numbers wrong. Doh!This is...

15 Aug, 2025
2 min read
testandcode

Test and Code 237 - FastAPI Cloud - Sebastián Ramírez

In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity...

11 Aug, 2025
31 min read
testandcode

Test and Code 236 - Git Tips for Testing - Adam Johnson

In this episode, host Brian Okken and guest Adam Johnson explore essential Git features, highlighted by Adam's updated...

30 Jul, 2025
16 min read
pytest course bundle
the best pytest book

PythonTest

This is the blog (plus more) of Brian Okken.

Menu

Home Start Here pytest Book pytest Course Top pytest plugins

Pages

Podcasts Archive Support Newsletter Contact Python People Podcast Test and Code Podcast Archive
2025 © Brian Okken. All Right Reserved.