216: ruff, uv, and Astral: Python tooling, much faster, with Rust
Test and Code
by Brian Okken
2w ago
Charlie Marsh and team are using Rust to make Python tooling faster. Ruff can take the place of Flake8, isort, and Black, and so much more. uv can take the place of pip, pip-tools, and virtualenv Astral is Charlie's venture backed company, and what they have with `ruff` and `uv` is just the start. Since uv is the newest tool, there's quite a bit of the discussion diving into uv. Sponsored by PyCharm Pro Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharm First 10 to sign up this month get a free month of AI Assistant See how easy it is to run pytest from PyCharm at py ..read more
Visit website
215: Staying Technical as a Manager
Test and Code
by Brian Okken
1M ago
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 Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharm First 10 to sign up this month get a free month of AI Assistant See how eas ..read more
Visit website
214: Python Testing in VS Code
Test and Code
by Brian Okken
1M ago
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 Level up your testing skills and save time during coding and maintenance. Check out courses.pythontest.com ..read more
Visit website
213: Repeating Tests
Test and Code
by Brian Okken
2M ago
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-repeat pytest-rerunfailures pytest-flakefinder pytest-instafail We talk about each of these in this episode. Sponsored by PyCharm Pro Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharm First 10 to sign up this month get a free month of AI Assistant See how easy it is to run pytest from PyCharm at pythontest.com/pycharm The Complete pytest Course For the ..read more
Visit website
212: Canon TDD - by Kent Beck
Test and Code
by Brian Okken
2M ago
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 TDD Test Driven Development by Example The Complete pytest Course Level up your testing skills and save time during coding and maintenance. Check out courses.pythontest.com ..read more
Visit website
211: Stamp out test dependencies with pytest plugins
Test and Code
by Brian Okken
3M ago
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: Causes of dependence Testing for dependencies using plugins Debugging test dependencies Plugins discussed: pytest-randomly pytest-reverse pytest-random-order Sponsored by PyCharm Pro Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharm First 10 to sign up this month get a free month of AI Assistant See how easy it is to run pytest ..read more
Visit website
Attrs and dataclasses - Hynek Schlawack
Test and Code
by Brian Okken
4M ago
In Python, before dataclasses, we had attrs.  Before attrs, it wasn't pretty. The story of attrs and dataclasses is actually intertwined.   They've built on each other.  And in the middle of it all, Hynek. Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences. If you ever need to create a custom class in Python, you should listen to this episode. Full Transcript Special Guest: Hynek Schlawack. Links: attrs documentation History of attrs and introduction to attrs namespace cattrs: Complex custom class converters for attrs. — pyth ..read more
Visit website
Teaching Web Development, including Front End Testing
Test and Code
by Brian Okken
4M ago
When you are teaching someone web development skills, when is the right time to start teaching code quality and testing practices? Karl Stolley believes it's never too early. Let's hear how he incorporates code quality in his courses. Our discussion includes: starting people off with good dev practices and tools linting html and css validation visual regression testing using local dev servers, including https incorporating testing with git hooks testing to aid in css optimization and refactoring Backstop Nightwatch BrowserStack the tree legged stool of learning and progressing as a developer ..read more
Visit website
Python + Django + Rich + Testing == Awesome
Test and Code
by Brian Okken
4M ago
Django has a handful of console commands to help manage and develop sites.  django-rich adds color and nice formatting. Super cool. In a recent release, django-rich also adds nice colorized tracebacks to the Django test runner.  Links: django-rich · PyPI episode 181: Boost Your Django DX - Adam Johnson django-crispy-forms Python Developers Survey 2020 Results  ..read more
Visit website
Managing Software Teams - Ryan Cheley
Test and Code
by Brian Okken
4M ago
Ryan Cheley joins me today to talk about some challenges of managing software teams, and how to handle them.  We end up talking about a lot of skills that are excellent for software engineers as well as managers. Some topics discussed: handling code reviews asking good questions being honest about what you can't do with current resources and data discussing tradeoffs and offering solutions that can be completed faster than the ideal solution balancing engineering and managing making sure documentation happens remote teams  encouraging collaboration encouraging non-work-related conv ..read more
Visit website

Follow Test and Code on FeedSpot

Continue with Google
Continue with Apple
OR