September 28th, 2020 | 40 mins 49 secs
mock, software testing
Using mock objects during testing in Python.
September 21st, 2020 | 8 mins 53 secs
Some people avoid writing tests. Some drudge through it painfully.
There is a better way.
In this episode, I'm going to share some advice from Luke Plant on how to "Test Smarter, Not Harder".
130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn
September 13th, 2020 | 36 mins 18 secs
continuous integration, open source, pytest, python, software testing, virtualenv
virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks.
September 7th, 2020 | 42 mins 8 secs
I asked people on twitter to fill in "How do I test _____?" to find out what people want to know how to test.
Lots of responses. David Lord agreed to answer them with me.
In the process, we come up with lots of great general advice on how to test just about anything.
August 28th, 2020 | 18 mins 12 secs
pytest, pytest plugins, pytest-randomly, python
Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result. Adam Johnson created pytest-randomly to ensure test independence.
August 24th, 2020 | 41 mins 43 secs
wfh, working from home
Tons of great tips and tricks for working from home. Brian, Julian, and Rueven share their experience and tips for making working from home productive and healthy.
August 16th, 2020 | 32 mins 17 secs
data science, fizz buzz, hypothesis, pytest, python, software engineering, software testing
Researches and others using data science and software need to follow solid software engineering practices. This is a message that Joel Grus has been promoting for some time.
Joel joins the show this week to talk about data science, software engineering, and even Fizz Buzz.
August 7th, 2020 | 1 hr 4 secs
pytest 6 is out. Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.
August 3rd, 2020 | 44 mins 15 secs
dependency resolver, pip, python
pip 20.2 has a new dependency resolver that the PyPA would really like you to try out. This episode has 5 guests from the project and we talk about everything from user experience (UX) to testing a complex project.
July 24th, 2020 | 22 mins 53 secs
ci/cd, continuous deployment, continuous integration, github actions
Lots of Python projects are starting to use GitHub Actions for Continous Integration & Deployment (CI/CD), as well as other workflows.
Tania Allard, a Senior Cloud Developer Advocate at Microsoft, joins the show to answer some of my questions regarding setting up a Python project to use Actions.
July 16th, 2020 | 36 mins 12 secs
A great resume is key to landing an great software job.
There's no surprise there.
But so many people make mistakes on their resume that can very easily be fixed.
Randall Kenna is on the show today to help us understand how to improve our resumes, and in turn,
help us have better careers.
July 9th, 2020 | 49 mins 21 secs
3d printing, finite state machine, fsm, hardware
Len Wanger works on industrial 3D printers. And I was pleased to find out that
there's a bunch of Python in those printers as well. We talk about 3D printing as well as finite state machines and testing software and hardware.
July 3rd, 2020 | 43 mins 54 secs
cli, rest api
Sebastián Ramírez is the developer behind FastAPI for Python REST APIs and Typer, for CLI applications. We discuss FastAPI, Typer, Swagger UI, interface design, autocompletion, and more.
June 26th, 2020 | 36 mins 6 secs
black, cpython, flit, packaging, pip, poetry, pyproject.toml, python, standard library, toml
Brett and I talk about some upcoming work on Python packaging, such as:
- editable install standardization
- other tools using pyproject.toml for configuration
- what should and shouldn't be in the standard library
- and a few tangents
June 25th, 2020 | 42 mins 48 secs
Code Coverage or Test Coverage is a way to measure what lines of code and branches in your code that are utilized during testing. Coverage tools are an important part of software engineering. But there's also lots of different opinions about using it. Should you try for 100% coverage? What code can and should you exclude? What about targets?
June 18th, 2020 | 51 mins 17 secs
ides, pytest, python, testing, vs code
The Python extension for VS Code is most downloaded extension for VS Code.
Brett Cannon is the manager for the distributed development team of the Python extension for VS Code.
In this episode, Brett and I discuss the Python extension and VS Code.