236: Git Tips for Testing - Adam Johnson
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
Key topics include
- "cherry picking" for selective commits
- "git stash" for managing in-progress work
- "git diff", and specifically its `--name-only` flag, which provides a streamlined method for developers to identify which files have changed, which can be used to determine which tests need to be run
- "git bisect" for efficiently pinpointing bugs.
This conversation offers valuable strategies for developers at any skill level to enhance their Git proficiency and optimize their coding workflows.
Links:
- Boost Your Git DX - Adam's book
Help support the show AND learn pytest:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
Creators and Guests

Guest
Adam Johnson
Adam Johnson is an author and solo consultant working with Ansible, AWS, Django, and Python. He is a member of the Django project Technical Board (2.2, 3.x, and 4.x release cycles), and a co-organizer of the The London Django Meetup. He is the author of Speed Up Your Django Tests and Boost Your Django DX.
