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.
I’m working on a book focused on pytest.
If you write Python code, you know that you can express your ideas better in high level languages like Python than in low level languages. You want your software tests to be just as expressive, just as elegant, just as readable. This book shows you how. The pytest framework is designed to help you write tests faster, to keep them readable and maintainable, with no boilerplate code. The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications, packages and libraries.
This book will teach you how to start writing tests quickly, and how to add powerful testing features when you need them.
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.