
Test & Code
The Python Test Podcast hosted by Brian Okken
Latest episodes

Dec 31, 2017 • 25min
34: TDD and Test First
An in depth discussion of Test Driven Development (TDD) should include a discussion of Test First. So that's where we start.
Why write tests first?
How do you know what tests to write?
What are the steps for test first?
Isn't this just TDD?
Functional Tests vs Unit Tests
Sponsored By:Python Testing with pytest, 2nd edition: The fastest way to learn pytest and practical testing practices.Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.Links:Test First Programming / Test First Development - Python TestingMy reaction to "Is TDD Dead?" - Python TestingEpisode 23: Lessons about testing and TDD from Kent BeckTalk Python, Episode #145 2017 Python Year in ReviewPyCon 2018 in Cleveland, Ohio | May 9-17Python Bytes PodcastPython Testing with pytest: Simple, Rapid, Effective, and Scalable: Brian Okken: 9781680502404: Amazon.com: Books
★ Support this podcast on Patreon ★

Nov 30, 2017 • 37min
33: Katharine Jarmul - Testing in Data Science
A discussion with Katharine Jarmul, aka kjam, about some of the challenges of data science with respect to testing.
Some of the topics we discuss:
experimentation vs testing
testing pipelines and pipeline changes
automating data validation
property based testing
schema validation and detecting schema changes
using unit test techniques to test data pipeline stages
testing nodes and transitions in DAGs
testing expected and unexpected data
missing data and non-signals
corrupting a dataset with noise
fuzz testing for both data pipelines and web APIs
datafuzz
hypothesis
testing internal interfaces
documenting and sharing domain expertise to build good reasonableness
intermediary data and stages
neural networks
speaking at conferences
Special Guest: Katharine Jarmul.Sponsored By:Python Testing with pytest, 2nd edition: The fastest way to learn pytest and practical testing practices.Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.Links:@kjam on Twitter — Data Magic and Computer SorceryKjamistan: Data Sciencedatafuzz’s Python library — The goal of datafuzz is to give you the ability to test your data science code and models with BAD data.Hypothesis Python library — Hypothesis is a Python library for finding edge cases in your code you wouldn’t have thought to look for.
★ Support this podcast on Patreon ★

Oct 3, 2017 • 47min
32: David Hussman - Agile vs Agility, Dude's Law, and more
A wonderful discussion with David Hussman. David and Brian look back at what all we've learned in XP, TDD, and other Agile methodologies, where things have gone awry, how to bring the value back, and where testing fits into all of this.
How to build the wrong thing faster
Agile vs Agility
Product vs Process
Where testing fits into software development practices.
"Integration tests, there's a name that needs to be refactored desperately."
Integration tests are "story tests". They tell the story of the product.
XP and TDD and the relationship with tests
To test for design, use microtests, xUnit style.
User Advocy tests are often lacking, but are needed to learn about the product.
"I just keep writing tests until I'm not scared anymore." - Kent Beck
Dude's Law: Value = Why/How
People often focus so much on the how that they forget about why they are doing something.
Subcutaneous Tests
"The hardest part of programming is thinking."
Refactoring vs Repaving
Agility means being able to quickly change direction
During experimentation and learning, what matters isn't how much you got done, but how much you learn.
"The best way to get automation is to make developers do manual tests."
Special Guest: David Hussman.Sponsored By:Talk Python Training: Online video courses for Python developersPython Testing with pytest, 2nd edition: The fastest way to learn pytest and practical testing practices.Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.Links:DevJamPNSQC 2015 How to Build the Wrong Thing Faster and Learn From ItPeople's Front of JudeaTDD on c2The waterfall modelTest First ProgrammingDude's LawSubcutaneous Test
★ Support this podcast on Patreon ★

Sep 27, 2017 • 40min
31: I'm so sick of the testing pyramid
What started as a twitter disagreement carries over into this civil discussion of software testing.
Brian and Paul discuss testing practices such as the testing pyramid, TDD, unit testing, system testing, and balancing test effort.
the Testing Pyramid
the Testing Column
TDD
unit testing
balancing unit with system tests, functional tests
API testing
subcutaneous testing
customer facing tests
Special Guest: Paul Merrill.Sponsored By:Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.Nerdlettering: Love Python? Show It With Some Python Swag
Custom-made Mugs and Accessories for Pythonistas, by Pythonistas. Promo Code: TESTCODELinks:Episode 34 - Software and Testing Models with Guest Host Brian Okken - Reflection As A Service — Cross posted to RaaSSubcutaneous Test — I use subcutaneous test to mean a test that operates just under the UI of an application.The Forgotten Layer of the Test Automation Pyramid — At the base of the test automation pyramid is unit testing.The Dreyfus model of skill acquisition — The Five-Stage Model of Adult Skill Acquisition
★ Support this podcast on Patreon ★

Aug 1, 2017 • 42min
30: Legacy Code - M. Scott Ford
M. Scott Ford is the founder and chief code whisperer at Corgibytes, a company focused on helping other companies with legacy code.
Topics include:
How M. Scott Ford got into forming a company that works on legacy code.
Technical debt
Process debt
Software testing
The testing pyramid
iterative development
kanban
readable code and readable test code
Special Guest: M. Scott Ford.Sponsored By:Nerdlettering: Love Python? Show It With Some Python Swag
Custom-made Mugs and Accessories for Pythonistas, by Pythonistas. Promo Code: TESTCODEPatreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.Links:Corgibyteswaffle.io
★ Support this podcast on Patreon ★

Jul 1, 2017 • 18min
29: Kobiton & QASymphony - Josh Lieberman
Kobiton is a service to test mobile apps on real devices.
QASymphony offers software testing and QA tools.Special Guest: Josh Lieberman.Sponsored By:Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.
★ Support this podcast on Patreon ★

Apr 7, 2017 • 33min
28: Chaos Engineering & Experimentation at Netflix - Casey Rosenthal
Today we have an interview with Casey Rosenthal of Netflix.
One of the people making sure Netflix runs smoothly is Casey Rosenthall.
He is the manager for the Traffic, Intuition, and Chaos teams at Netflix.
He's got a great perspective on quality and large systems.
We talk about
Chaos Engineering
Experimentation vs Testing
Testing Strategy
Visualization of large amounts of data representing Steady State
Special Guest: Casey Rosenthal.Sponsored By:Nerdlettering: Love Python? Show It With Some Python Swag
Custom-made Mugs and Accessories for Pythonistas, by Pythonistas. Promo Code: TESTCODEKobiton: Test your Mobile App on Real Devices for Free with Kobiton. Sign up at kobiton.com/testandcode to start testing in minutes.
★ Support this podcast on Patreon ★

Feb 26, 2017 • 42min
27: Mahmoud Hashemi : unit, integration, and system testing
What is the difference between a unit test, an integration test, and a system test? Mahmoud Hashemi helps me to define these terms, as well as discuss the role of all testing variants in software development.
What is the difference between a unit test, an integration test, and a system test?
TDD
testing pyramid vs testing column
the role of testing in software development
web frameworks
listen to wikipedia
hatnote
the world’s largest photo competition
Enterprise Software with Python
Links:
Mahmoud on twitter: @mhashemi
Mahmoud on sedimental
hatnote
listen to wikipedia
Montage, the web platform used to help judge the world’s largest photo competition
clastic
10 Myths of Enterprise Python
Enterprise Software with Python course
Enterprise Software with Python blog post.
Special Guest: Mahmoud Hashemi.Sponsored By:Nerdlettering: Love Python? Show It With Some Python Swag
Custom-made Mugs and Accessories for Pythonistas, by Pythonistas. Promo Code: TESTCODETalk Python Training: Online video courses for Python developersPatreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.
★ Support this podcast on Patreon ★

Dec 1, 2016 • 58min
26: pyresttest – Sam Van Oort
Interview with Sam Van Oort about pyresttest, "A REST testing and API microbenchmarking tool"
pyresttest
A question in the Test & Code Slack channel was raised about testing REST APIs. There were answers such as pytest + requests, of course, but there was also a mention of pyresttest, https://github.com/svanoort/pyresttest, which I hadn't heard of. I checked out the github repo, and was struck by how user friendly the user facing test definitions were. So I contacted the developer, Sam Van Oort, and asked him to come on the show and tell me about this tool and why he developed it.
Here's the "What is it?" section from the pyresttest README:
A REST testing and API microbenchmarking tool
Tests are defined in basic YAML or JSON config files, no code needed
Minimal dependencies (pycurl, pyyaml, optionally future), making it easy to deploy on-server for smoketests/healthchecks
Supports generate/extract/validate mechanisms to create full test scenarios
Returns exit codes on failure, to slot into automated configuration management/orchestration tools (also supplies parseable logs)
Logic is written and extensible in Python
Support
Special thanks to my wonderful Patreon supporters and those who have supported the show by purchasing Python Testing with unittest, nose, pytestSponsored By:Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.
★ Support this podcast on Patreon ★

Dec 1, 2016 • 42min
25: Selenium, pytest, Mozilla – Dave Hunt
Interview with Dave Hunt @davehunt82.
We Cover:
Selenium Driver
pytest
pytest plugins:
pytest-selenium
pytest-html
pytest-variables
tox
Dave Hunt’s “help wanted” list on github
Mozilla
Also:
fixtures
xfail
CI and xfail and html reports
CI and capturing
pytest code sprint
working remotely for Mozilla
Sponsored By:Patreon Supporters: Help support the show with as little as $1 per month and be the first to know when new episodes come out.
★ Support this podcast on Patreon ★