In this episode, host Brian Okken and guest Adam Johnson explore essential Git features, highlighted by Adam's updated book, "Boost Your Git DX."
Key topics include
This conversation offers valuable strategies for developers at any skill level to enhance their Git proficiency and optimize their coding workflows.
Links:
Help support the show AND learn pytest:
In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django.
Links:
Help support the show AND learn pytest:
pytest-metadata is described as a plugin for pytest that provides access to test session metadata.
That is such a humble description for such a massively useful plugin.
If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.
However, pytest-metadata is very useful even on its own.
Links:
If you've got other plugins that work well with pytest-metadata, please let me know.
Sponsored by:
Help support the show AND learn pytest:
pytest-check is a pytest plugin that allows multiple failures per test.
Normally, a test function will fail and stop running with the first failed assert. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails.
pytest-check allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong.
Links:
Sponsored by:
Help support the show AND learn pytest:
AI is helping people write code.
Tests are one of those things that some people don't like to write.
Can AI play a role in creating automated software tests?
Well, yes. But it's a nuanced yes.
Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.
We discuss:
Links:
Sponsored by:
Help support the show AND learn pytest:
pytest-repeat
This episode also discusses the attempted April Fools episode.
Links:
Help support the show AND learn pytest:
pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.
Note: This was an April Fools attempt, so the statement ...
"Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't work."
... is NOT true.
Listen to the NEXT episode to get an explanation
Links:
Help support the show AND learn pytest:
pytest-html has got to be one of my all time favorite plugins.
pytest-html is a plugin for pytest that generates a HTML report for test results.
This episode digs into some of the super coolness of pytest-html.
Help support the show AND learn pytest:
Markdown reports as either text or markdown tables.
Two fun plugins discussed.
Links:
Help support the show AND learn pytest:
This episode is a replay of a 2021 interview I did with Michael Foord.
We lost Michael in January, and I'd like to revisit this interview as a tribute.
Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock.
But he did so much more as well.
His contributions continue to resonate within the developer community.
This interview is just a small peek at his influence.
In this episode
python.org has put up an "In memoriam" page for Michael Foord, and many people have shared stories and memories.
Links:
pytest-mock is currently the #3 pytest plugin.
pytest-mock is a wrapper around unittest.mock.
In this episode:
Links:
Help support the show AND learn pytest:
pytest-cov is a pytest plugin that helps produce coverage reports using Coverage.py.
In this episode, we'll discuss:
Links:
Errata:
Help support the show AND learn pytest:
This episode kicks off a series on pytest plugins.
In this episode:
Links:
Help support the show AND learn pytest:
Taking notes well can help to listen better, remember things, show respect, be more accountable, free up mind space to solve problems.
This episode discusses
Learn pytest
In this episode we're talking about importing part of a package into another part of the same package.
We'll look at: `from . import module` and `from .module import something`
and also: `import package` to access the external API from with the package.
Why would we use `import package` if `from . import api` would work fine?
Learn pytest
We've got some code we want to test, and some tests.
The tests need to be able to import the code under test, or at least the API to it, in order to run tests against it.
How do we do that? How do we set things up so that our tests can import our code?
In this episode, we discuss two options:
Learn pytest
PyCon US is just around the corner. I've asked Rob Ludwick to come on the show to discuss how to get the most out of your PyCon experience. There's a lot to do. A lot of activities to juggle, including actual juggling, which is where we start the conversation.
Even if you never get a chance to go to PyCon, I hope this interview helps you get a feel for the welcoming aspect of the Python community.
I recorded this interview as an episode for one of my other podcasts, Python People. But I think it's got some great pre-conference advice, so I'm sharing it here on Python Test as well.
We talk about:
- Juggling at PyCon
- How to get the most out of PyCon
- Watching talks
- Hallway track
- Open spaces
- Lightening talks
- Expo hall / vendor space
- Poster sessions
- Job fair
- A welcoming community
- Tutorials
- Sprints
- But mostly about the people of Python and PyCon.
"Python enables smart people to work faster" - Rob Ludwick
Learn pytest
I'm starting a SaaS project using Django, and there are tons of decisions right out of the gate.
To help me navigate these decisions, I've brought on Cory Zue.
Cory is the creator of SaaS Pegasus, and has tons of experience with Django.
Some of the topics discussed:
Learn pytest
Nicole is a software engineer and writer, and recently wrote about the trade-offs we make when deciding which tests to write and how much testing is enough.
We talk about:
Links:
Learn pytest
If you've ever thought about starting a podcast or a SaaS project, you'll want to listen to this episode.
Justin is one of the people who motivated me to get started podcasting.
He's also running a successful SaaS company, transistor.fm, which hosts this podcast.
Topics:
BTW. This episode was recorded last summer before I switched to transistor.fm.
I'm now on Transistor for most of a year now, and I love it.
Links from the show:
Learn pytest