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

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

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

Newer post

6 - Writing software is like nothing else

Related

testandcode

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

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

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

Pages

Podcasts Archive Top pytest plugins Support Newsletter Contact Test and Code Archive
2025 © Brian Okken. All Right Reserved.