Location:

United States

Description:

Building software is more fun with tests.

Twitter:

@testandcode

Language:

English

Contact:

541-206-4736


Episodes
Pídele al anfitrión que permita compartir el control de reproducción

222: Import within a Python package

9/7/2024
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 Hello, pytest!The Complete pytest Coursecourses.pythontest.com

Duración:00:12:02

Pídele al anfitrión que permita compartir el control de reproducción

221: How to get pytest to import your code under test

6/3/2024
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: pythonpath pytest setting Sponsored by Mailtrap.io MAILTRAP.IOSponsored by The Complete pytest Course courses.pythontest.com

Duración:00:07:41

Pídele al anfitrión que permita compartir el control de reproducción

220: Getting the most out of PyCon, including juggling - Rob Ludwick

5/4/2024
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 Sponsored by Mailtrap.io MAILTRAP.IOSponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:41:27

Pídele al anfitrión que permita compartir el control de reproducción

219: Building Django Apps & SaaS Pegasus - Cory Zue

4/23/2024
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: SaaS PegasusSaaS Pegasus Sponsored by Mailtrap.io MAILTRAP.IOSponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:49:00

Pídele al anfitrión que permita compartir el control de reproducción

218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya

4/18/2024
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: Too much of a good thing: the trade-off we make with testsLoad testing is hard, and the tools are... not great. But why?Yet Another Rust Resource (YARR!)Goodhart's law Sponsored by Mailtrap.io MAILTRAP.IOSponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:28:48

Pídele al anfitrión que permita compartir el control de reproducción

217: Podcasting / SaaS / Work Life Balance - Justin Jackson

4/11/2024
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: Transistor.fmHow to start a podcast in 2024Build your SaaSBuild & LaunchMegaMaker Sponsored by Mailtrap.io MAILTRAP.IOSponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:57:13

Pídele al anfitrión que permita compartir el control de reproducción

216: ruff, uv, and Astral: Python tooling, much faster, with Rust

3/11/2024
Charlie Marsh and team are using Rust to make Python tooling faster. Since uv is the newest tool, there's quite a bit of the discussion diving into uv. Links: ruffAstraluv Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:48:44

Pídele al anfitrión que permita compartir el control de reproducción

215: Staying Technical as a Manager

2/25/2024
Software engineers that move into leadership roles have a struggle between learning leadership skills, maintaining technical skills, and learning new leadership and technical skills. Matt Makai went from individual contributor to developer relations to leadership in devrel. We discuss how to stay technical, as well as dive into some results of his studies in how companies use developer relationship channels. Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:40:49

Pídele al anfitrión que permita compartir el control de reproducción

214: Python Testing in VS Code

2/7/2024
If you haven't tried running automated tests, especially with pytest, in VS Code recently, you should take another look. The Python for VS Code interface for testing, especially for pytest, has changed recently. On this episode we discuss the change with the software engineer working on the pytest changes, Eleanor Boyd, and the product manager, Courtney Webster. Links from the episode: Blog post announcing the rewrite Code repo for questions, comments, issues etc The Complete pytest Course courses.pythontest.com

Duración:00:38:49

Pídele al anfitrión que permita compartir el control de reproducción

213: Repeating Tests

1/19/2024
If a test fails in a test suite, I'm going to want to re-run the test. I may even want to re-run a test, or a subset of the suite, a bunch of times. There are a few pytest plugins that help with this: pytest-repeatpytest-rerunfailurespytest-flakefinderpytest-instafailWe talk about each of these in this episode. Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:15:01

Pídele al anfitrión que permita compartir el control de reproducción

212: Canon TDD - by Kent Beck

1/13/2024
In 2002, Kent Beck released a book called "Test Driven Development by Example". In December of 2023, Kent wrote an article called "Canon TDD". With Kent's permission, this episode contains the full content of the article. Brian's commentary is saved for a followup episode. Links: Canon TDDTest Driven Development by Example The Complete pytest Course courses.pythontest.com

Duración:00:07:54

Pídele al anfitrión que permita compartir el control de reproducción

211: Stamp out test dependencies with pytest plugins

12/15/2023
We want to be able to run tests in a suite, and debug them in isolation, and have the behavior be the same. If the behavior is different in isolation vs in a suite, it's a nightmare to debug. In this episode, we'll talk about: Plugins discussed: Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:20:36

Pídele al anfitrión que permita compartir el control de reproducción

210: TDD - Refactor while green

11/29/2023
Test Driven Development. Red, Green, Refactor. This episode is to talk about this with a an example. Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:18:27

Pídele al anfitrión que permita compartir el control de reproducción

209: Testing argparse Applications

11/16/2023
How do you test the argument parsing bit of an application that uses argparse? This episode covers: Also, there's a full writeup and code samples available: Testing argparse ApplicationsCode Repo The Complete pytest Course courses.pythontest.com

Duración:00:16:37

Pídele al anfitrión que permita compartir el control de reproducción

208: Tests with no assert statements

10/29/2023
Why on earth would you want to write a test with no assert statements? After all, aren't assert statements how you decide wether a test passes or fails? In this episode, we walk through a handful of useful examples of test code without asserts. We also talk about how these types of tests are a great way to dip your toe into testing. Sponsored by PyCharm Pro jetbrains.com/pycharmpythontest.com/pycharmThe Complete pytest Course courses.pythontest.com

Duración:00:14:57

Pídele al anfitrión que permita compartir el control de reproducción

207: Welcome to "Python Test", pytest course, pytest-repeat and pytest-flakefinder

9/25/2023
Python Bytes PodcastPython People PodcastPython Test Podcasttestandcode.com"The Complete pytest Course"pytest-repeatpytest-flakefinderpytest-check

Duración:00:14:14

Pídele al anfitrión que permita compartir el control de reproducción

206: TDD in Context

8/23/2023
TDD (Test Driven Development) started from Test First Programming, and has been around at least since the 90's. However, software tools and available CI systems have changed quite a bit since then. Maybe it's time to re-examine the assumptions, practices, processes, and principles of TDD. At least in the context of my software engineering career, modifications to TDD, at least the version of TDD as it's frequently taught, have been necessary. This is the start of a series focused on examining TDD and related lightweight practices and processes. Links from the show: Test FirstUnit TestsAcceptance TestsTest-Driven Development (wikipedia)

Duración:00:21:00

Pídele al anfitrión que permita compartir el control de reproducción

205: pytest autouse fixtures

7/31/2023
On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them. James Falcon was kind enough to reach out and correct me. In this episode, we describe:

Duración:00:29:09

Pídele al anfitrión que permita compartir el control de reproducción

Free Your Inner Nonfiction Writer

7/18/2023
Learn how to write nonfiction fast and well. Johanna Rothman joins the show to discuss writing nonfiction. Johanna's book: Free Your Inner Nonfiction Writer

Duración:00:37:32

Pídele al anfitrión que permita compartir el control de reproducción

Open Source at Intel

7/17/2023
Open Source is important to Intel and has been for a very long time. Joe Curley, vice president and general manager of software products and ecosystem, and Arun Gupta, vice president and general manager for open ecosystems, join the show to discuss open source, OneAPI, and open ecosystems at Intel.

Duración:00:43:33