Raphael Pierzina wrote a cool article about how to run use a hook function to only run tests that use a particular fixture. However, I wanted to make it more generic so I could pass in the fixture via command line option. Minor tweak to add options.
The podcast has a new home.
I’m excited to announce that the Test & Code Podcast (the podcast formerly known as Python Test Podcast) is now on it’s spiffy new location, testandcode.com.
There is still work to do:
- backfilling guest profiles for all past episodes
- moving over transcripts (some are done)
- convincing planet python to add the Test and Code feed
The workflow at the new site is much better for me and shaves some time off of the effort of publishing the podcast.
If you experience problems, let me know. Fastest way is through @brianokken.
I’ve also moved the feed over. This shouldn’t have any negative repercussions, but who knows.
Simple, Rapid, Effective, and Scalable
by Brian Okken
Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest testing framework helps you write tests quickly and keep them readable and maintainable—with no boilerplate code. Using a robust yet simple fixture model, it’s just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how.
Michael Kennedy from Talk Python to Me and I have launched a new podcast, called Python Bytes, “Python headlines delivered directly to your earbuds”. It’s a weekly short format podcast. Please check it out.
The first few weeks of a podcast can really make a difference if we can get a bunch of listeners to try it right away. Please consider leaving a review on iTunes. Even if you don’t use iTunes to listen, early reviews can really help with visibility.