
Sign up to save your podcasts
Or


Tools like error monitoring, crash reporting, and performance monitoring are tools to help you create a better user experience and are fast becoming crucial tools for web development and site reliability. But really what are they? And when do you need them?
You've built a cool web app or service, and you want to make sure your customers have a great experience.
You know I advocate for utilizing automated tests so you find bugs before your customers do. However, fast development lifecycles, and quickly reacting to customer needs is a good thing, and we all know that complete testing is not possible. That's why I firmly believe that site monitoring tools like logging, crash reporting, performance monitoring, etc are awesome for maintaining and improving user experience.
John-Daniel Trask, JD, the CEO of Raygun, agreed to come on the show and let me ask all my questions about this whole field.
Special Guest: John-Daniel Trask.
There's a cool feature of pytest called parametrization.
It's actually a handful of features, and there are a few ways to approach it.
Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.
Links:
You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache.
Awesome.
Now your colleagues want in on that super power and want to learn testing.
How do you help them?
That's where Josh Peak is. He's helping his team add testing to their workflow to boost their productivity.
That's what we're talking about today on Test & Code.
Josh walks us through 4 maxims of developing software tests that help grow your confidence and proficiency at test writing.
Special Guest: Josh Peak.
Links:
Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.
Software test suites grow from small quick suites at the beginning of a project to larger suites as we add tests, and the time to run the suites grows with it.
Fortunately, pytest has many tricks up it's sleave to help shorten those test suite times.
Niklas Meinzer is a software developer that recentely wrote an article on optimizing test suites. In this episode, I talk with Niklas about the optimization techniques discussed in the article and how they can apply to just about any project.
Special Guest: Niklas Meinzer.
Links:
Adafruit enables beginners to make amazing hardware/software projects.
The combination of Python's ease of use and Adafruit's super cool hardware and a focus on a successful beginner experience makes learning to write code that controls hardware super fun.
In this episode, Scott Shawcroft, the project lead, talks about the past, present, and future of CircuitPython, and discusses the focus on the beginner.
We also discuss contributing to the project, testing CircuitPython, and many of the cool projects and hardware boards that can use CircuitPython, and Blinka, a library to allow you to use "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython," including Raspberry Pi.
Special Guest: Scott Shawcroft.
Links:
Bob Belderbos and Julian Sequeira started PyBites a few years ago.
Then came the codechalleng.es platform, where you can do code challenges in the browser and have your answer checked by pytest tests. But how does it all work?
Bob joins me today to go behind the scenes and share the tech stack running the PyBites Code Challenges platform.
We talk about the technology, the testing, and how it went from a cool idea to a working platform.
Special Guest: Bob Belderbos.
Links:
Anthony Sottile is a pytest core contributor, as well as a maintainer and contributor to
We also discuss Anthony's move from user to contributor, and how others can help with the pytest project.
Special Guest: Anthony Sottile.
Links:
In the last episode, we talked about going from script to supported package.
Today's episode is a continuation where we add new features to a supported package and how to develop and test a flit based package.
Covered:
code and command snippets from episode:
For git checkout of versions:
To grab the latest again:
pyproject.toml change for README to show up on pypi:
Adding dev dependencies to pyproject.toml:
Installing in editable mode (in top level repo directory). works in mac, linux, windows:
or for mac/linux:
Links:
This episode is a story about packaging, and flit, tox, pytest, and coverage.
Python makes it easy to build simple tools for all kinds of tasks.
When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard.
Also, the structure of the code layout changes to help with the growth and support.
Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun.
Here are the steps we walk through:
Links:
Some information about software testing is just wrong.
I've ran across a few lateley that I want to address.
All of the following are wrong:
This episode discusses why these are wrong.
Links:
From the publisher's feed

43,853 Listeners

623 Listeners

327 Listeners

582 Listeners

213 Listeners

8,059 Listeners

139 Listeners

2,313 Listeners

5 Listeners