Test & Code https://pythontest.com/testandcode_feed.xml The Python Test Podcast hosted by Brian Okken © 2024 Brian Okken 938656b9-9b21-5e3c-8130-4f3b3aa16513 no Brian Okken en-us Thu, 21 Aug 2025 11:35:47 -0700 Thu, 21 Aug 2025 11:36:24 -0700 https://pythontest.com/testandcode https://pythontest.com/img/test_and_code.jpg Test & Code https://pythontest.com/testandcode episodic Brian Okken The Python Test Podcast hosted by Brian Okken The Python Test Podcast hosted by Brian Okken. python, programming, software, testing, Brian Okken No No 238: So Long, and Thanks for All the Fish 238 238 238: So Long, and Thanks for All the Fish full 7784e514-13d4-4275-a483-a6d7ed390a35 https://pythontest.com/testandcode/episodes/so-long-and-thanks-for-all-the-fish A farewell to a fun 10 years.

Also, I should have tested it better. :)
In the audio I got the numbers wrong.  Doh!
This is episode 238, not 237. Oh well.

I'll still be around, of course, at:

  • pythontest.com - where I write about developing software with tests
  • pythonbytes.fm - Python news and headlines, delivered directly to your earbuds

Thanks for all the fun over the last 10 years.
I wish you the best.




]]>
A farewell to a fun 10 years.

Also, I should have tested it better. :)
In the audio I got the numbers wrong.  Doh!
This is episode 238, not 237. Oh well.

I'll still be around, of course, at:

  • pythontest.com - where I write about developing software with tests
  • pythonbytes.fm - Python news and headlines, delivered directly to your earbuds

Thanks for all the fun over the last 10 years.
I wish you the best.




]]>
Fri, 15 Aug 2025 13:20:27 -0700 Brian Okken Brian Okken 141 A farewell to a fun 10 years.

Also, I should have tested it better. :)
In the audio I got the numbers wrong.  Doh!
This is episode 238, not 237. Oh well.

I'll still be around, of course, at:

  • pythontest.com - where I write about developing software with tests
  • pythonbytes.fm - Python news and headlines, delivered directly to your earbuds

Thanks for all the fun over the last 10 years.
I wish you the best.




]]>
python, programming, software, testing, No Brian Okken
237: FastAPI Cloud - Sebastián Ramírez 237 237 237: FastAPI Cloud - Sebastián Ramírez full ca0f1978-a436-42a2-8ad3-38a56e727d9f https://pythontest.com/testandcode/episodes/fastapi-cloud In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity and the launch of FastAPI Cloud. Sebastian explains how FastAPI Cloud addresses deployment challenges small teams face. He shares his transition from open-source to startup founder, focusing on simplifying deployment against the complexity of tools like Kubernetes.

Links:




]]>
In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity and the launch of FastAPI Cloud. Sebastian explains how FastAPI Cloud addresses deployment challenges small teams face. He shares his transition from open-source to startup founder, focusing on simplifying deployment against the complexity of tools like Kubernetes.

Links:




]]>
Mon, 11 Aug 2025 15:10:07 -0700 Brian Okken Brian Okken 2186 In this episode, Brian interviews Sebastián Ramírez, creator of FastAPI, about its rapid rise in developer popularity and the launch of FastAPI Cloud. Sebastian explains how FastAPI Cloud addresses deployment challenges small teams face. He shares his transition from open-source to startup founder, focusing on simplifying deployment against the complexity of tools like Kubernetes.

Links:




]]>
python, programming, software, testing, No Brian Okken Sebastián Ramírez
236: Git Tips for Testing - Adam Johnson 236 236 236: Git Tips for Testing - Adam Johnson full 104ee3b7-c66f-4c1b-81e0-e26961dd244e https://pythontest.com/testandcode/episodes/git-tips-for-testing 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 

  • "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:




]]>
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 

  • "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:




]]>
Wed, 30 Jul 2025 07:01:58 -0700 Brian Okken Brian Okken 1185 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 

  • "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:




]]>
python, programming, software, testing, No Brian Okken Adam Johnson
235: pytest-django - Adam Johnson 235 235 235: pytest-django - Adam Johnson full 94f32b20-a5d2-495c-bebe-9f088a61d922 https://pythontest.com/testandcode/episodes/pytest-django In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django.

Links:

  • pytest-django - a plugin for pytest that provides a set of useful tools for testing Django applications and projects.



]]>
In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django.

Links:

  • pytest-django - a plugin for pytest that provides a set of useful tools for testing Django applications and projects.



]]>
Tue, 22 Jul 2025 01:00:00 -0700 Brian Okken Brian Okken 1173 In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django.

Links:

  • pytest-django - a plugin for pytest that provides a set of useful tools for testing Django applications and projects.



]]>
python, programming, software, testing, No Brian Okken Adam Johnson
234: pytest-metadata - provides access to test session metadata 234 234 234: pytest-metadata - provides access to test session metadata full e8ffb3a6-0213-4e9a-9f24-66160d7835a9 https://pythontest.com/testandcode/episodes/pytest-metadata pytest-metadata is described as a plugin for pytest that provides access to test session metadata. 
That is such a humble description for such a massively useful plugin. 
If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.
However, pytest-metadata is very useful even on its own.

Links:

If you've got other plugins that work well with pytest-metadata, please let me know.




]]>
pytest-metadata is described as a plugin for pytest that provides access to test session metadata. 
That is such a humble description for such a massively useful plugin. 
If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.
However, pytest-metadata is very useful even on its own.

Links:

If you've got other plugins that work well with pytest-metadata, please let me know.




]]>
Wed, 07 May 2025 22:57:12 -0700 Brian Okken Brian Okken 416 pytest-metadata is described as a plugin for pytest that provides access to test session metadata. 
That is such a humble description for such a massively useful plugin. 
If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.
However, pytest-metadata is very useful even on its own.

Links:

If you've got other plugins that work well with pytest-metadata, please let me know.




]]>
python, programming, software, testing, No Brian Okken
233: pytest-check - allow multiple failures per test 233 233 233: pytest-check - allow multiple failures per test full 060f1207-f3e6-46b8-a468-068fa3038332 https://pythontest.com/testandcode/episodes/pytest-check pytest-check is a pytest plugin that allows multiple failures per test.


Normally, a test function will fail and stop running with the first failed assert. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails.


pytest-check allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong.

Links:




]]>
pytest-check is a pytest plugin that allows multiple failures per test.


Normally, a test function will fail and stop running with the first failed assert. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails.


pytest-check allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong.

Links:




]]>
Fri, 02 May 2025 15:03:53 -0700 Brian Okken Brian Okken 517 pytest-check is a pytest plugin that allows multiple failures per test.


Normally, a test function will fail and stop running with the first failed assert. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails.


pytest-check allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong.

Links:




]]>
python, programming, software, testing, No Brian Okken
232: The role of AI in software testing - Anthony Shaw 232 232 232: The role of AI in software testing - Anthony Shaw full f18d344d-e916-4850-b186-f9d8137a85af https://pythontest.com/testandcode/episodes/ai-role-software-testing AI is helping people write code.  
Tests are one of those things that some people don't like to write.   

Can AI play a role in creating automated software tests?  
Well, yes. But it's a nuanced yes.  

Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.

We discuss:

  • The promise of AI writing your tests for you
  • Downsides to not writing tests yourself
  • Bad ways to generate tests
  • Good ways to ask AI for help in writing tests
  • Tricks to get better results while using copilot and other AI tools

Links:




]]>
AI is helping people write code.  
Tests are one of those things that some people don't like to write.   

Can AI play a role in creating automated software tests?  
Well, yes. But it's a nuanced yes.  

Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.

We discuss:

  • The promise of AI writing your tests for you
  • Downsides to not writing tests yourself
  • Bad ways to generate tests
  • Good ways to ask AI for help in writing tests
  • Tricks to get better results while using copilot and other AI tools

Links:




]]>
Fri, 25 Apr 2025 10:41:08 -0700 Brian Okken Brian Okken 3408 AI is helping people write code.  
Tests are one of those things that some people don't like to write.   

Can AI play a role in creating automated software tests?  
Well, yes. But it's a nuanced yes.  

Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.

We discuss:

  • The promise of AI writing your tests for you
  • Downsides to not writing tests yourself
  • Bad ways to generate tests
  • Good ways to ask AI for help in writing tests
  • Tricks to get better results while using copilot and other AI tools

Links:




]]>
python, programming, software, testing, No Brian Okken Anthony Shaw
231: pytest-repeat - works fine on Python 3.14 231 231 231: pytest-repeat - works fine on Python 3.14 full b1f10c98-1152-4328-a43d-fd8fe7326041 https://pythontest.com/testandcode/episodes/pytest-repeat-works-fine-on-python-3-14 pytest-repeat 

  • is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  
  • works fine on Python 3.14
  • is tested on Python 3.9-3.14
  • probably works fine still on 3.7 & 3.8

This episode also discusses the attempted April Fools episode.

Links:




]]>
pytest-repeat 

  • is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  
  • works fine on Python 3.14
  • is tested on Python 3.9-3.14
  • probably works fine still on 3.7 & 3.8

This episode also discusses the attempted April Fools episode.

Links:




]]>
Thu, 10 Apr 2025 14:30:42 -0700 Brian Okken Brian Okken 450 pytest-repeat 

  • is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  
  • works fine on Python 3.14
  • is tested on Python 3.9-3.14
  • probably works fine still on 3.7 & 3.8

This episode also discusses the attempted April Fools episode.

Links:




]]>
python, programming, software, testing, No Brian Okken
230: Python 3.14 won't repeat with pytest-repeat 230 230 230: Python 3.14 won't repeat with pytest-repeat full 58559be8-c2d0-480a-8f16-a932abb5ba1f https://pythontest.com/testandcode/episodes/python-3-14-wont-repeat-with-pytest-repeat pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  

Note: This was an April Fools attempt, so the statement ...
"Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't work." 
... is NOT true.

Listen to the NEXT episode to get an explanation

Links:




]]>
pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  

Note: This was an April Fools attempt, so the statement ...
"Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't work." 
... is NOT true.

Listen to the NEXT episode to get an explanation

Links:




]]>
Tue, 01 Apr 2025 15:20:33 -0700 Brian Okken Brian Okken 245 pytest-repeat is a pytest plugin that makes it easy to repeat a single test, or multiple tests, a specific number of times.  

Note: This was an April Fools attempt, so the statement ...
"Unfortunately, it doesn't seem to work with Python 3.14, even though there is no rational reason why it shouldn't work." 
... is NOT true.

Listen to the NEXT episode to get an explanation

Links:




]]>
python, programming, software, testing, No Brian Okken
229: pytest-html - a plugin that generates HTML reports for test results 229 229 229: pytest-html - a plugin that generates HTML reports for test results full c7a48c8a-a1e5-4b1f-8991-8faba2bc88d6 https://pythontest.com/testandcode/episodes/pytest-html pytest-html has got to be one of my all time favorite plugins. 
pytest-html is a plugin for pytest that generates a HTML report for test results. 
This episode digs into some of the super coolness of pytest-html.




]]>
pytest-html has got to be one of my all time favorite plugins. 
pytest-html is a plugin for pytest that generates a HTML report for test results. 
This episode digs into some of the super coolness of pytest-html.




]]>
Thu, 27 Mar 2025 11:16:06 -0700 Brian Okken Brian Okken 375 pytest-html has got to be one of my all time favorite plugins. 
pytest-html is a plugin for pytest that generates a HTML report for test results. 
This episode digs into some of the super coolness of pytest-html.




]]>
python, programming, software, testing, No Brian Okken
228: pytest-md and pytest-md-report: Markdown reports for pytest 228 228 228: pytest-md and pytest-md-report: Markdown reports for pytest full d79e0cff-cf81-4152-b2b3-26ea8e73e1e5 https://pythontest.com/testandcode/episodes/markdown-reports-pytest-md-pytest-md-report Markdown reports as either text or markdown tables.
Two fun plugins discussed.

Links:




]]>
Markdown reports as either text or markdown tables.
Two fun plugins discussed.

Links:




]]>
Fri, 28 Feb 2025 18:38:35 -0700 Brian Okken Brian Okken 608 Markdown reports as either text or markdown tables.
Two fun plugins discussed.

Links:




]]>
python, programming, software, testing, No Brian Okken
227: Mocking in Python with unittest.mock - Michael Foord 227 227 227: Mocking in Python with unittest.mock - Michael Foord full b8554360-2ff5-4ff6-be59-c6a2096d0984 https://pythontest.com/testandcode/episodes/unittest-mock This episode is a replay of a 2021 interview I did with Michael Foord.
We lost Michael in January, and I'd like to revisit this interview as a tribute. 

Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock. 
But he did so much more as well. 
His contributions continue to resonate within the developer community. 
This interview is just a small peek at his influence. 

In this episode

  • Introduction to Michael Foord
  • The Mock Library Origins
  • Mocking and Testing Philosophy
  • Career Path and Consulting
  • Understanding Mocking
  • The Power of Patch
  • Testing Strategies and Design
  • Mocking External Dependencies
  • Teaching Testing and Mocking

python.org has put up an "In memoriam" page for Michael Foord, and many people have shared stories and memories.

Links:


]]>
This episode is a replay of a 2021 interview I did with Michael Foord.
We lost Michael in January, and I'd like to revisit this interview as a tribute. 

Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock. 
But he did so much more as well. 
His contributions continue to resonate within the developer community. 
This interview is just a small peek at his influence. 

In this episode

  • Introduction to Michael Foord
  • The Mock Library Origins
  • Mocking and Testing Philosophy
  • Career Path and Consulting
  • Understanding Mocking
  • The Power of Patch
  • Testing Strategies and Design
  • Mocking External Dependencies
  • Teaching Testing and Mocking

python.org has put up an "In memoriam" page for Michael Foord, and many people have shared stories and memories.

Links:


]]>
Fri, 07 Feb 2025 00:00:16 -0700 Brian Okken Brian Okken 2869 This episode is a replay of a 2021 interview I did with Michael Foord.
We lost Michael in January, and I'd like to revisit this interview as a tribute. 

Michael Foord was a pivotal figure in the Python community and the creator of the mock library that's now unittest.mock. 
But he did so much more as well. 
His contributions continue to resonate within the developer community. 
This interview is just a small peek at his influence. 

In this episode

  • Introduction to Michael Foord
  • The Mock Library Origins
  • Mocking and Testing Philosophy
  • Career Path and Consulting
  • Understanding Mocking
  • The Power of Patch
  • Testing Strategies and Design
  • Mocking External Dependencies
  • Teaching Testing and Mocking

python.org has put up an "In memoriam" page for Michael Foord, and many people have shared stories and memories.

Links:


]]>
python, programming, software, testing, No Brian Okken Michael Foord
226: pytest-mock : Mocking in pytest 226 226 226: pytest-mock : Mocking in pytest full 261ecc31-d792-43b5-818e-ac13d88326de https://pythontest.com/testandcode/episodes/pytest-mock pytest-mock is currently the #3 pytest plugin. 
pytest-mock is a wrapper around unittest.mock.

In this episode:

  • Why the pytest-mock plugin is awesome
  • What is mocking, patching, and monkey patching
  • What, if any, is the difference between mock, fake, spy, stub. 
  • Why we might need these in testing
  • Some history of mock in Python and how mock became unittest.mock
  • From unittest.mock
    • patch.object
    • patch.object with autospec
    • using these as context managers
  • pytest-mock:
    • The mocker fixture 
    • Cleanup in teardown
    • Using mocker.patch, mocker.spy, and mocker.stub
    • Why it's awesome and why you might want to use it over straight unittest.mock

Links:




]]>
pytest-mock is currently the #3 pytest plugin. 
pytest-mock is a wrapper around unittest.mock.

In this episode:

  • Why the pytest-mock plugin is awesome
  • What is mocking, patching, and monkey patching
  • What, if any, is the difference between mock, fake, spy, stub. 
  • Why we might need these in testing
  • Some history of mock in Python and how mock became unittest.mock
  • From unittest.mock
    • patch.object
    • patch.object with autospec
    • using these as context managers
  • pytest-mock:
    • The mocker fixture 
    • Cleanup in teardown
    • Using mocker.patch, mocker.spy, and mocker.stub
    • Why it's awesome and why you might want to use it over straight unittest.mock

Links:




]]>
Fri, 31 Jan 2025 11:05:16 -0700 Brian Okken Brian Okken 667 pytest-mock is currently the #3 pytest plugin. 
pytest-mock is a wrapper around unittest.mock.

In this episode:

  • Why the pytest-mock plugin is awesome
  • What is mocking, patching, and monkey patching
  • What, if any, is the difference between mock, fake, spy, stub. 
  • Why we might need these in testing
  • Some history of mock in Python and how mock became unittest.mock
  • From unittest.mock
    • patch.object
    • patch.object with autospec
    • using these as context managers
  • pytest-mock:
    • The mocker fixture 
    • Cleanup in teardown
    • Using mocker.patch, mocker.spy, and mocker.stub
    • Why it's awesome and why you might want to use it over straight unittest.mock

Links:




]]>
python, programming, software, testing, No Brian Okken
225: pytest-cov : The pytest plugin for measuring coverage 225 225 225: pytest-cov : The pytest plugin for measuring coverage full 84a55f80-a052-4e0e-89ce-02e34d5bc497 https://pythontest.com/testandcode/episodes/pytest-cov pytest-cov is a pytest plugin that helps produce coverage reports using Coverage.py.

In this episode, we'll discuss:

  • what Coverage.py is
  • why you should measure code coverage on both your source and test code
  • what pytest-cov is
  • extra features pytest-cov gives you over and above coverage.py
  • and generally why using both is awesome

Links:

Errata:

  • I mentioned that Coverage has the ability to show context (which line is covered by which test) for the past year or so.
    • However, that feature was released in Oct 2018. coverage 5.0 alpha 
    • That's over 6 years. Oops. Sorry Ned.



]]>
pytest-cov is a pytest plugin that helps produce coverage reports using Coverage.py.

In this episode, we'll discuss:

  • what Coverage.py is
  • why you should measure code coverage on both your source and test code
  • what pytest-cov is
  • extra features pytest-cov gives you over and above coverage.py
  • and generally why using both is awesome

Links:

Errata:

  • I mentioned that Coverage has the ability to show context (which line is covered by which test) for the past year or so.
    • However, that feature was released in Oct 2018. coverage 5.0 alpha 
    • That's over 6 years. Oops. Sorry Ned.



]]>
Thu, 23 Jan 2025 13:06:36 -0700 Brian Okken Brian Okken 748 pytest-cov is a pytest plugin that helps produce coverage reports using Coverage.py.

In this episode, we'll discuss:

  • what Coverage.py is
  • why you should measure code coverage on both your source and test code
  • what pytest-cov is
  • extra features pytest-cov gives you over and above coverage.py
  • and generally why using both is awesome

Links:

Errata:

  • I mentioned that Coverage has the ability to show context (which line is covered by which test) for the past year or so.
    • However, that feature was released in Oct 2018. coverage 5.0 alpha 
    • That's over 6 years. Oops. Sorry Ned.



]]>
python, pytest, coverage, software testing No Brian Okken
224: pytest plugins - a full series 224 224 224: pytest plugins - a full series full 7d28f49d-7797-4c3b-847d-10a04ecf561f https://pythontest.com/testandcode/episodes/pytest-plugins This episode kicks off a series on pytest plugins.

In this episode:

  • Introduction to pytest plugins
  • The pytest.org pytest plugin list
  • Finding pytest related packages on PyPI
  • The Top pytest plugins list on pythontest.com
  • Exploring popular plugins
  • Learning from plugin examples

Links:




]]>
This episode kicks off a series on pytest plugins.

In this episode:

  • Introduction to pytest plugins
  • The pytest.org pytest plugin list
  • Finding pytest related packages on PyPI
  • The Top pytest plugins list on pythontest.com
  • Exploring popular plugins
  • Learning from plugin examples

Links:




]]>
Fri, 10 Jan 2025 14:00:13 -0700 Brian Okken Brian Okken 738 This episode kicks off a series on pytest plugins.

In this episode:

  • Introduction to pytest plugins
  • The pytest.org pytest plugin list
  • Finding pytest related packages on PyPI
  • The Top pytest plugins list on pythontest.com
  • Exploring popular plugins
  • Learning from plugin examples

Links:




]]>
python, programming, software, testing, No Brian Okken
223: Writing Stuff Down is a Super Power 223 223 223: Writing Stuff Down is a Super Power full 81bb1f9c-ad54-41d9-bf40-7b00f5a565f3 https://pythontest.com/testandcode/episodes/223-writing-stuff-down Taking notes well can help to listen better, remember things, show respect, be more accountable, free up mind space to solve problems.

This episode discusses

  • the benefits of writing things down
  • preparing for a meeting
  • taking notes in meetings
  • reviewing notes for action items, todo items, things to follow up on, etc.
  • taking notes to allow for better focus
  • writing well structured emails
  • writing blog posts and books



]]>
Taking notes well can help to listen better, remember things, show respect, be more accountable, free up mind space to solve problems.

This episode discusses

  • the benefits of writing things down
  • preparing for a meeting
  • taking notes in meetings
  • reviewing notes for action items, todo items, things to follow up on, etc.
  • taking notes to allow for better focus
  • writing well structured emails
  • writing blog posts and books



]]>
Sat, 16 Nov 2024 18:55:26 -0700 Brian Okken Brian Okken 1290 Taking notes well can help to listen better, remember things, show respect, be more accountable, free up mind space to solve problems.

This episode discusses

  • the benefits of writing things down
  • preparing for a meeting
  • taking notes in meetings
  • reviewing notes for action items, todo items, things to follow up on, etc.
  • taking notes to allow for better focus
  • writing well structured emails
  • writing blog posts and books



]]>
python, programming, software, testing, No Brian Okken
222: Import within a Python package 222 222 222: Import within a Python package full ec4e70e8-71af-492e-9e3b-edc30b27289e https://pythontest.com/testandcode/episodes/222-import-within-a-python-package 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?




]]>
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?




]]>
Sat, 07 Sep 2024 09:27:32 -0700 Brian Okken Brian Okken 747 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?




]]>
python, programming, software, testing, No Brian Okken
221: How to get pytest to import your code under test 221 221 221: How to get pytest to import your code under test full 4c2572d8-a971-4429-a9bb-ca72b9d90118 https://pythontest.com/testandcode/episodes/221-how-to-get-pytest-to-import-your-code-under-test 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:

  • Installing the code under test as a pip installable package with `pip install -e /path/to/local/package`.
  • Using the pythonpath pytest setting.



]]>
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:

  • Installing the code under test as a pip installable package with `pip install -e /path/to/local/package`.
  • Using the pythonpath pytest setting.



]]>
Mon, 03 Jun 2024 11:23:38 -0700 Brian Okken Brian Okken 465 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:

  • Installing the code under test as a pip installable package with `pip install -e /path/to/local/package`.
  • Using the pythonpath pytest setting.



]]>
python, programming, software, testing, No Brian Okken
220: Getting the most out of PyCon, including juggling - Rob Ludwick 220 220 220: Getting the most out of PyCon, including juggling - Rob Ludwick full 6e49ec6c-5072-4058-9d01-9fec62000a1a https://pythontest.com/testandcode/episodes/220-juggling-pycon 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




]]>
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




]]>
Sat, 04 May 2024 14:54:32 -0700 Brian Okken Brian Okken 2436 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




]]>
python, programming, software, testing, No Brian Okken Rob Ludwick
219: Building Django Apps & SaaS Pegasus - Cory Zue 219 219 219: Building Django Apps & SaaS Pegasus - Cory Zue full ac52c803-f803-41a7-97ec-7fac66a0b39b https://pythontest.com/testandcode/episodes/building-django-apps-saas-pegasus 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:

  • Building Django applications
  • SaaS Pegasus
  • placecard.me
  • What boilerplate projects are
  • Django cookiecutter
  • Cookiecutter
  • Which database to use, probably PostgreSQL
  • Authentication choises, probably Allauth
  • Docker, Docker for development, Docker for deployment
  • Deployment targets / hosting services. Render, Heroku, Fly.io, for PaaS options.
  • Front end frameworks. Bootstrap, Tailwind, DaisyUI, TailwindUI
  • HTMX vs React vs straight Django templates
  • Rockets
  • Font Awesome
  • and of course, SaaS Pegasus



]]>
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:

  • Building Django applications
  • SaaS Pegasus
  • placecard.me
  • What boilerplate projects are
  • Django cookiecutter
  • Cookiecutter
  • Which database to use, probably PostgreSQL
  • Authentication choises, probably Allauth
  • Docker, Docker for development, Docker for deployment
  • Deployment targets / hosting services. Render, Heroku, Fly.io, for PaaS options.
  • Front end frameworks. Bootstrap, Tailwind, DaisyUI, TailwindUI
  • HTMX vs React vs straight Django templates
  • Rockets
  • Font Awesome
  • and of course, SaaS Pegasus



]]>
Tue, 23 Apr 2024 17:52:52 -0700 Brian Okken Brian Okken 2889 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:

  • Building Django applications
  • SaaS Pegasus
  • placecard.me
  • What boilerplate projects are
  • Django cookiecutter
  • Cookiecutter
  • Which database to use, probably PostgreSQL
  • Authentication choises, probably Allauth
  • Docker, Docker for development, Docker for deployment
  • Deployment targets / hosting services. Render, Heroku, Fly.io, for PaaS options.
  • Front end frameworks. Bootstrap, Tailwind, DaisyUI, TailwindUI
  • HTMX vs React vs straight Django templates
  • Rockets
  • Font Awesome
  • and of course, SaaS Pegasus



]]>
python, programming, software, testing, No Brian Okken Cory Zue
218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya 218 218 218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya full ea86b01d-f8c3-432b-82b8-f5833c52fd54 https://pythontest.com/testandcode/episodes/218-balancing-test-coverage-with-test-costs 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:

  • Balancing schedule vs testing
  • How much testing is the right about of testing
  • Should code coverage be measured and tracked
  • Good refactoring can reduce code coverage
  • Is it worth testing error conditions?
  • Are rare error codes ok to just monitor?
  • API drift and autospec
  • Mitigating risk
  • Deciding what to test and what not to test
  • Focus testing on key money-making features 
  • If there's a bug in this part of the code, how much business impact is there?
  • Performance testing needs to approximately match real world workloads
  • Cost of a service breaking vs the cost of creating, maintaining, and running tests
  • Keeping test suites quick to minimize getting distracted


Links:




]]>
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:

  • Balancing schedule vs testing
  • How much testing is the right about of testing
  • Should code coverage be measured and tracked
  • Good refactoring can reduce code coverage
  • Is it worth testing error conditions?
  • Are rare error codes ok to just monitor?
  • API drift and autospec
  • Mitigating risk
  • Deciding what to test and what not to test
  • Focus testing on key money-making features 
  • If there's a bug in this part of the code, how much business impact is there?
  • Performance testing needs to approximately match real world workloads
  • Cost of a service breaking vs the cost of creating, maintaining, and running tests
  • Keeping test suites quick to minimize getting distracted


Links:




]]>
Wed, 17 Apr 2024 21:26:46 -0700 Brian Okken Brian Okken 1677 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:

  • Balancing schedule vs testing
  • How much testing is the right about of testing
  • Should code coverage be measured and tracked
  • Good refactoring can reduce code coverage
  • Is it worth testing error conditions?
  • Are rare error codes ok to just monitor?
  • API drift and autospec
  • Mitigating risk
  • Deciding what to test and what not to test
  • Focus testing on key money-making features 
  • If there's a bug in this part of the code, how much business impact is there?
  • Performance testing needs to approximately match real world workloads
  • Cost of a service breaking vs the cost of creating, maintaining, and running tests
  • Keeping test suites quick to minimize getting distracted


Links:




]]>
python, programming, software, testing, No Brian Okken Nicole Tietz-Sokolskaya
217: Podcasting / SaaS / Work Life Balance - Justin Jackson 217 217 217: Podcasting / SaaS / Work Life Balance - Justin Jackson full 115370d5-f365-4641-a87e-fd7bb4309fe4 https://pythontest.com/testandcode/episodes/217-podcasting-saas-work-life-balance-justin-jackson 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:

  • Podcasting
  • Building new SaaS (software as a service) products
  • Balancing work, side hustle, and family
  • Great places to snowboard in British Columbia

BTW.

Links from the show:




]]>
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:

  • Podcasting
  • Building new SaaS (software as a service) products
  • Balancing work, side hustle, and family
  • Great places to snowboard in British Columbia

BTW.

Links from the show:




]]>
Thu, 11 Apr 2024 00:36:05 -0700 Brian Okken Brian Okken 3393 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:

  • Podcasting
  • Building new SaaS (software as a service) products
  • Balancing work, side hustle, and family
  • Great places to snowboard in British Columbia

BTW.

Links from the show:




]]>
python, programming, software, testing, No Brian Okken Justin Jackson
216: ruff, uv, and Astral: Python tooling, much faster, with Rust 216 216 216: ruff, uv, and Astral: Python tooling, much faster, with Rust full 2ec45242-73fa-472c-a442-e0511a7eb052 https://pythontest.com/testandcode/episodes/ruff-astral-uv-charlie-marsh 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.

Links:




]]>
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.

Links:




]]>
Mon, 11 Mar 2024 13:12:28 -0700 Brian Okken Brian Okken 2891 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.

Links:




]]>
python, programming, software, testing, No Brian Okken Charlie Marsh
215: Staying Technical as a Manager 215 215 215: Staying Technical as a Manager full 887a2cf5-9eb2-4170-a6ca-be82fc029c8d https://pythontest.com/testandcode/episodes/215-staying-technical-as-a-manager 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.




]]>
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.




]]>
Sun, 25 Feb 2024 09:38:53 -0700 Brian Okken Brian Okken 2361 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.




]]>
python, programming, software, testing, No Brian Okken Matt Makai
214: Python Testing in VS Code 214 214 214: Python Testing in VS Code full 6e388bb0-d37e-444c-ba99-b5583badc78b https://pythontest.com/testandcode/episodes/214-python-testing-in-vs-code 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:




]]>
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:




]]>
Tue, 06 Feb 2024 22:20:10 -0700 Brian Okken Brian Okken 2331 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:




]]>
python, programming, software, testing, No Brian Okken Eleanor Boyd Courtney Webster
213: Repeating Tests 213 213 213: Repeating Tests full b949c240-39a3-4a42-8402-d7689527ef8a https://pythontest.com/testandcode/episodes/213-repeating-tests 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:

We talk about each of these in this episode.




]]>
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:

We talk about each of these in this episode.




]]>
Fri, 19 Jan 2024 15:09:28 -0700 Brian Okken Brian Okken 827 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:

We talk about each of these in this episode.




]]>
python, programming, software, testing, No Brian Okken
212: Canon TDD - by Kent Beck 212 212 212: Canon TDD - by Kent Beck full ac28eb85-8d49-4299-b8c1-aec7f7a7d2a5 https://pythontest.com/testandcode/episodes/212-canon-tdd-by-kent-beck 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:




]]>
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:




]]>
Sat, 13 Jan 2024 12:18:28 -0700 Brian Okken Brian Okken 476 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:




]]>
python, programming, software, testing, No Brian Okken
211: Stamp out test dependencies with pytest plugins 211 211 211: Stamp out test dependencies with pytest plugins full 7e768143-22a1-4176-966e-60a14feb6275 https://pythontest.com/testandcode/episodes/211-stamp-out-test-dependencies-with-pytest-plugins 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





]]>
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





]]>
Fri, 15 Dec 2023 16:17:07 -0700 Brian Okken Brian Okken 1106 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





]]>
python, programming, software, testing, No Brian Okken
210: TDD - Refactor while green 210 210 210: TDD - Refactor while green full e09abcbc-7fa9-458c-aa84-4c1324009054 https://pythontest.com/testandcode/episodes/210-tdd-refactor-while-green Test Driven Development. Red, Green, Refactor. 

  • Do we have to do the refactor part? 
  • Does the refactor at the end include tests? 
  • Or can I refactor the tests at any time?
  • Why is refactor at the end? 

This episode is to talk about this with a an example.




]]>
Test Driven Development. Red, Green, Refactor. 

  • Do we have to do the refactor part? 
  • Does the refactor at the end include tests? 
  • Or can I refactor the tests at any time?
  • Why is refactor at the end? 

This episode is to talk about this with a an example.




]]>
Wed, 29 Nov 2023 17:29:08 -0700 Brian Okken Brian Okken 969 Test Driven Development. Red, Green, Refactor. 

  • Do we have to do the refactor part? 
  • Does the refactor at the end include tests? 
  • Or can I refactor the tests at any time?
  • Why is refactor at the end? 

This episode is to talk about this with a an example.




]]>
python, programming, software, testing, No Brian Okken
209: Testing argparse Applications 209 209 209: Testing argparse Applications full 3283a1d4-08c8-47f8-95eb-8defd63aec6a https://pythontest.com/testandcode/episodes/209-testing-argparse-applications How do you test the argument parsing bit of an application that uses argparse?

This episode covers:

  • Design for Test: Structuring your app or script so it's easier to test.
  • pytest & capsys for testing stdout
  • Adding debug and preview flags for debugging and testing
  • And reverting to subprocess.run if you can't modify the code under test

Also, there's a full writeup and code samples available:




]]>
How do you test the argument parsing bit of an application that uses argparse?

This episode covers:

  • Design for Test: Structuring your app or script so it's easier to test.
  • pytest & capsys for testing stdout
  • Adding debug and preview flags for debugging and testing
  • And reverting to subprocess.run if you can't modify the code under test

Also, there's a full writeup and code samples available:




]]>
Thu, 16 Nov 2023 13:07:04 -0700 Brian Okken Brian Okken 979 How do you test the argument parsing bit of an application that uses argparse?

This episode covers:

  • Design for Test: Structuring your app or script so it's easier to test.
  • pytest & capsys for testing stdout
  • Adding debug and preview flags for debugging and testing
  • And reverting to subprocess.run if you can't modify the code under test

Also, there's a full writeup and code samples available:




]]>
python, programming, software, testing, No Brian Okken
208: Tests with no assert statements 208 208 208: Tests with no assert statements full fe456c74-2c99-4a17-8e24-1e8d4bbbed1b https://pythontest.com/testandcode/episodes/208-tests-with-no-assert-statements 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.




]]>
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.




]]>
Sun, 29 Oct 2023 17:28:00 -0700 Brian Okken Brian Okken 759 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.




]]>
python, programming, software, testing, No Brian Okken
207: pytest course, pytest-repeat and pytest-flakefinder 207 207 207: pytest course, pytest-repeat and pytest-flakefinder full f537b2a9-2d29-4306-95d1-bad6d5340ff8 https://pythontest.com/testandcode/episodes/207-pytest-course-repeat-flakefinder
  • New course: "The Complete pytest Course"
  • pytest-repeat, which I'm starting to contribute to
    • Give `--repeat-scope` a try. You can use it to change from repeating every test to repeating the session, module, or class.
  • pytest-flakefinder, which is an alternative to pytest-repeat
  • pytest-check is completely unrelated, but mentioned in the show



  • ]]>
  • New course: "The Complete pytest Course"
  • pytest-repeat, which I'm starting to contribute to
    • Give `--repeat-scope` a try. You can use it to change from repeating every test to repeating the session, module, or class.
  • pytest-flakefinder, which is an alternative to pytest-repeat
  • pytest-check is completely unrelated, but mentioned in the show



  • ]]>
    Mon, 25 Sep 2023 18:37:17 -0700 Brian Okken Brian Okken 832
  • New course: "The Complete pytest Course"
  • pytest-repeat, which I'm starting to contribute to
    • Give `--repeat-scope` a try. You can use it to change from repeating every test to repeating the session, module, or class.
  • pytest-flakefinder, which is an alternative to pytest-repeat
  • pytest-check is completely unrelated, but mentioned in the show



  • ]]>
    python, programming, software, testing, No Brian Okken
    206: TDD in Context 206 206 206: TDD in Context full 263fd4b9-22ba-46ed-a413-de8ebb92e3cc https://pythontest.com/testandcode/episodes/206-tdd-in-context 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:




    ]]>
    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:




    ]]>
    Wed, 23 Aug 2023 16:36:56 -0700 Brian Okken Brian Okken 1239 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:




    ]]>
    python, programming, software, testing, No Brian Okken
    205: pytest autouse fixtures 205 205 205: pytest autouse fixtures full 638b3af9-7073-4ec4-957d-eef6c48be890 https://pythontest.com/testandcode/episodes/pytest-autouse-fixtures 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:

    • what fixtures are
    • what autouse fixtures are
    • great reasons to use them



    ]]>
    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:

    • what fixtures are
    • what autouse fixtures are
    • great reasons to use them



    ]]>
    Mon, 31 Jul 2023 17:55:40 -0700 Brian Okken Brian Okken 1780 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:

    • what fixtures are
    • what autouse fixtures are
    • great reasons to use them



    ]]>
    python, programming, software, testing, No Brian Okken James Falcon
    204: Free Your Inner Nonfiction Writer - Johanna Rothman 204 204 204: Free Your Inner Nonfiction Writer - Johanna Rothman full d4291bde-247e-4e64-8043-b8d5409dbbd6 https://pythontest.com/testandcode/episodes/free-your-inner-nonfiction-writer 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




    ]]>
    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




    ]]>
    Tue, 18 Jul 2023 14:01:53 -0700 Brian Okken Brian Okken 2298 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




    ]]>
    python, programming, software, testing, No Johanna Rothman Brian Okken
    203: Open Source at Intel 203 203 203: Open Source at Intel full 3d133f00-e5ca-4795-8671-eb7d0fb32f74 https://pythontest.com/testandcode/episodes/open-source-at-intel 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.




    ]]>
    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.




    ]]>
    Mon, 17 Jul 2023 09:35:18 -0700 Brian Okken Brian Okken 2662 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.




    ]]>
    python, programming, software, testing, No Arun Gupta Joe Curley Brian Okken
    202: Using Towncrier to Keep a Changelog - Hynek Schlawack 202 202 202: Using Towncrier to Keep a Changelog - Hynek Schlawack full f4d41d54-7a49-47bf-95a1-413049bc8d5b https://pythontest.com/testandcode/episodes/202-using-towncrier-to-keep-a-changelog Hynek joins the show to discuss towncrier. 

    At the top of the towncrier documentation, it says "towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your project."

    Towncrier is used by "Twisted, pytest, pip, BuildBot, and attrs, among others."

    This is the last of 3 episodes focused on keeping a CHANGELOG. 

    Episode 200 kicked off the series with keepachangelog.com and Olivier Lacan
    In 201 we had Ned Batchelder discussing scriv.

    Special Guest: Hynek Schlawack.


    Links:




    ]]>
    Hynek joins the show to discuss towncrier. 

    At the top of the towncrier documentation, it says "towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your project."

    Towncrier is used by "Twisted, pytest, pip, BuildBot, and attrs, among others."

    This is the last of 3 episodes focused on keeping a CHANGELOG. 

    Episode 200 kicked off the series with keepachangelog.com and Olivier Lacan
    In 201 we had Ned Batchelder discussing scriv.

    Special Guest: Hynek Schlawack.


    Links:




    ]]>
    Wed, 31 May 2023 14:15:00 -0700 Brian Okken Brian Okken 2942 Hynek joins the show to discuss towncrier. 

    At the top of the towncrier documentation, it says "towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your project."

    Towncrier is used by "Twisted, pytest, pip, BuildBot, and attrs, among others."

    This is the last of 3 episodes focused on keeping a CHANGELOG. 

    Episode 200 kicked off the series with keepachangelog.com and Olivier Lacan
    In 201 we had Ned Batchelder discussing scriv.

    Special Guest: Hynek Schlawack.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Hynek Schlawack
    201: Avoid merge conflicts on your CHANGELOG with scriv - Ned Batchelder 201 201 201: Avoid merge conflicts on your CHANGELOG with scriv - Ned Batchelder full 0b5d370d-deff-4638-ba19-c21fa7c29925 https://pythontest.com/testandcode/episodes/201-avoid-merge-conflicts-on-your-changelog-with-scriv Last week we talked about the importance of keeping a changelog.
     This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog.

    Scriv "is a command-line tool for helping developers maintain useful changelogs. It manages a directory of changelog fragments. It aggregates them into entries in a CHANGELOG file."


    Links:




    ]]>
    Last week we talked about the importance of keeping a changelog.
     This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog.

    Scriv "is a command-line tool for helping developers maintain useful changelogs. It manages a directory of changelog fragments. It aggregates them into entries in a CHANGELOG file."


    Links:




    ]]>
    Thu, 25 May 2023 00:00:00 -0700 Brian Okken Brian Okken 2046 Last week we talked about the importance of keeping a changelog.
     This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog.

    Scriv "is a command-line tool for helping developers maintain useful changelogs. It manages a directory of changelog fragments. It aggregates them into entries in a CHANGELOG file."


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Ned Batchelder
    200: Keep a CHANGELOG 200 200 200: Keep a CHANGELOG full e2e2d214-1fc7-4ce8-8bbd-181a4f556373 https://pythontest.com/testandcode/episodes/200-keep-a-changelog A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.
     This episode is about what a changelog is, with an interview with Olivier Lacan, creator of keepachangelog.com.
    The next two episodes talk about some tools to help software project teams keep changelogs while avoiding merge conflicts. 

    Special Guest: Olivier Lacan.


    Links:




    ]]>
    A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.
     This episode is about what a changelog is, with an interview with Olivier Lacan, creator of keepachangelog.com.
    The next two episodes talk about some tools to help software project teams keep changelogs while avoiding merge conflicts. 

    Special Guest: Olivier Lacan.


    Links:




    ]]>
    Fri, 19 May 2023 00:00:00 -0700 Brian Okken Brian Okken 2807 A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.
     This episode is about what a changelog is, with an interview with Olivier Lacan, creator of keepachangelog.com.
    The next two episodes talk about some tools to help software project teams keep changelogs while avoiding merge conflicts. 

    Special Guest: Olivier Lacan.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    199: Is Azure Right for a Side Project? - Pamela Fox 199 199 199: Is Azure Right for a Side Project? - Pamela Fox full e113d9ae-dfc9-4e75-906b-75fb36ce2385 https://pythontest.com/testandcode/episodes/199-is-azure-right-for-a-side-project For a web side project to go from "working on desktop" to "live in the cloud", one decision that needs to be made is where to host everything. One option is Microsoft Azure. Lots of corporate sites use it. Is it right for side projects? 

    Pamela Fox, a Cloud Advocate for Python at Microsoft, joins the show to help us with that question.


    Links:




    ]]>
    For a web side project to go from "working on desktop" to "live in the cloud", one decision that needs to be made is where to host everything. One option is Microsoft Azure. Lots of corporate sites use it. Is it right for side projects? 

    Pamela Fox, a Cloud Advocate for Python at Microsoft, joins the show to help us with that question.


    Links:




    ]]>
    Thu, 04 May 2023 09:45:00 -0700 Brian Okken Brian Okken 3064 For a web side project to go from "working on desktop" to "live in the cloud", one decision that needs to be made is where to host everything. One option is Microsoft Azure. Lots of corporate sites use it. Is it right for side projects? 

    Pamela Fox, a Cloud Advocate for Python at Microsoft, joins the show to help us with that question.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Pamela Fox
    198: Testing Django Web Applications - Carlton Gibson, Will Vincent 198 198 198: Testing Django Web Applications - Carlton Gibson, Will Vincent full 6ceabefa-2e37-48b7-a071-a36809d9d8f8 https://pythontest.com/testandcode/episodes/198-testing-django-web-applications Django has some built in ways to test your application. There's also pytest-django and other plugins that help with testing. Carlton Gibson and Will Vincent from the Django Chat Podcast join the show to discuss how to get started testing your Django application.





    ]]>
    Django has some built in ways to test your application. There's also pytest-django and other plugins that help with testing. Carlton Gibson and Will Vincent from the Django Chat Podcast join the show to discuss how to get started testing your Django application.





    ]]>
    Thu, 27 Apr 2023 13:15:00 -0700 Brian Okken Brian Okken 3711 Django has some built in ways to test your application. There's also pytest-django and other plugins that help with testing. Carlton Gibson and Will Vincent from the Django Chat Podcast join the show to discuss how to get started testing your Django application.





    ]]>
    python, programming, software, testing, No Brian Okken Carlton Gibson Will Vincent
    197: Python project trove classifiers - Do you need this bit of pyproject.toml metadata? - Brett Cannon 197 197 197: Python project trove classifiers - Do you need this bit of pyproject.toml metadata? - Brett Cannon full b12fad8a-d62b-40bb-99db-d7beb2dbf251 https://pythontest.com/testandcode/episodes/197-python-project-trove-classifiers-do-you-need-this-bit-of-pyproject-toml-metadata Classifiers are one bit of Python project metadata that predates PyPI.

     Classifiers are weird.

     They were around in setuptools days, and are still here with pyproject.toml. 

    • What are they? 
    • Why do we need them? 
    • Do we need them?
    • Which classifiers should I include?
    • Why are they called "trove classifiers" in the Python docs

    Brett Cannon joins the show to discuss these wacky bits of metadata.

    Here's an example, from pytest-crayons:

    [project] ... classifiers = [ "License :: OSI Approved :: MIT License", "Framework :: Pytest" ]


    Links:




    ]]>
    Classifiers are one bit of Python project metadata that predates PyPI.

     Classifiers are weird.

     They were around in setuptools days, and are still here with pyproject.toml. 

    • What are they? 
    • Why do we need them? 
    • Do we need them?
    • Which classifiers should I include?
    • Why are they called "trove classifiers" in the Python docs

    Brett Cannon joins the show to discuss these wacky bits of metadata.

    Here's an example, from pytest-crayons:

    [project] ... classifiers = [ "License :: OSI Approved :: MIT License", "Framework :: Pytest" ]


    Links:




    ]]>
    Tue, 04 Apr 2023 18:30:00 -0700 Brian Okken Brian Okken 2019 Classifiers are one bit of Python project metadata that predates PyPI.

     Classifiers are weird.

     They were around in setuptools days, and are still here with pyproject.toml. 

    • What are they? 
    • Why do we need them? 
    • Do we need them?
    • Which classifiers should I include?
    • Why are they called "trove classifiers" in the Python docs

    Brett Cannon joins the show to discuss these wacky bits of metadata.

    Here's an example, from pytest-crayons:

    [project] ... classifiers = [ "License :: OSI Approved :: MIT License", "Framework :: Pytest" ]


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Brett Cannon (@brettcannon@fosstodon.org)
    196: I am not a supplier - Thomas Depierre 196 196 196: I am not a supplier - Thomas Depierre full ce010ff7-a3ae-429c-b64b-e5703ef370cb https://pythontest.com/testandcode/episodes/196-i-am-not-a-supplier Should we think of open source components the same way we think of physical parts for manufactured goods?

     There are problems with supply chain analogy when applied to software.

     Thomas Depierre discusses some of those issues in this episode. 


    Links:




    ]]>
    Should we think of open source components the same way we think of physical parts for manufactured goods?

     There are problems with supply chain analogy when applied to software.

     Thomas Depierre discusses some of those issues in this episode. 


    Links:




    ]]>
    Thu, 30 Mar 2023 17:30:00 -0700 Brian Okken Brian Okken 2210 Should we think of open source components the same way we think of physical parts for manufactured goods?

     There are problems with supply chain analogy when applied to software.

     Thomas Depierre discusses some of those issues in this episode. 


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Thomas Depierre
    195: What would you change about pytest? - Anthony Sottile 195 195 195: What would you change about pytest? - Anthony Sottile full 71604dcf-2f42-4d19-9579-25123445c7b3 https://pythontest.com/testandcode/episodes/195-what-would-you-change-about-pytest Anthony Sottile and Brian discuss changes that would be cool for pytest, even unrealistic changes. These are changes we'd make to pytest if we didn't ahve to care about backwards compatibilty.

    Anthony's list:

    1. The import system
    2. Multi-process support out of the box
    3. Async support
    4. Changes to the fixture system
    5. Extend the assert rewriting to make it modular
    6. Add matchers to assert mechanism
    7. Ban test class inheritance

    Brian's list: 

    1. Extend assert rewriting for custom rewriting, like check
    2. pytester matchers available for all tests
    3. Throw out nose and unittest compatibility plugins
    4. Throw out setup_module, teardown_module and other xunit style functions
    5. Remove a bunch of the hook functions
    6. Documentation improvement of remaining hook functions which include examples of how to use it
    7. Start running tests before collection is done
    8. Split collection and running into two processes
    9. Have the fixtures be able to know the result of the test during teardown


    Links:




    ]]>
    Anthony Sottile and Brian discuss changes that would be cool for pytest, even unrealistic changes. These are changes we'd make to pytest if we didn't ahve to care about backwards compatibilty.

    Anthony's list:

    1. The import system
    2. Multi-process support out of the box
    3. Async support
    4. Changes to the fixture system
    5. Extend the assert rewriting to make it modular
    6. Add matchers to assert mechanism
    7. Ban test class inheritance

    Brian's list: 

    1. Extend assert rewriting for custom rewriting, like check
    2. pytester matchers available for all tests
    3. Throw out nose and unittest compatibility plugins
    4. Throw out setup_module, teardown_module and other xunit style functions
    5. Remove a bunch of the hook functions
    6. Documentation improvement of remaining hook functions which include examples of how to use it
    7. Start running tests before collection is done
    8. Split collection and running into two processes
    9. Have the fixtures be able to know the result of the test during teardown


    Links:




    ]]>
    Wed, 08 Mar 2023 01:00:00 -0700 Brian Okken Brian Okken 3483 Anthony Sottile and Brian discuss changes that would be cool for pytest, even unrealistic changes. These are changes we'd make to pytest if we didn't ahve to care about backwards compatibilty.

    Anthony's list:

    1. The import system
    2. Multi-process support out of the box
    3. Async support
    4. Changes to the fixture system
    5. Extend the assert rewriting to make it modular
    6. Add matchers to assert mechanism
    7. Ban test class inheritance

    Brian's list: 

    1. Extend assert rewriting for custom rewriting, like check
    2. pytester matchers available for all tests
    3. Throw out nose and unittest compatibility plugins
    4. Throw out setup_module, teardown_module and other xunit style functions
    5. Remove a bunch of the hook functions
    6. Documentation improvement of remaining hook functions which include examples of how to use it
    7. Start running tests before collection is done
    8. Split collection and running into two processes
    9. Have the fixtures be able to know the result of the test during teardown


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Anthony Sottile
    193: The Good Research Code Handbook - Patrick Mineault 193 193 193: The Good Research Code Handbook - Patrick Mineault full 0fcb3370-f807-48cd-90e0-c9dd0bc81dcb https://pythontest.com/testandcode/episodes/193-the-good-research-code-handbook-patrick-mineault I don't think it's too much of a stretch to say that software is part of most scientific research now.
     From astronomy, to neuroscience, to chemistry, to climate models. 
     If you work in research that hasn't been affected by software yet, just wait.

    But how good is that software? 

    How much of common best practices in software development are making it to those writing software in the sciences?

    Patrick Mineault has written "The Good Research Code Handbook". 
     It's a website. It's concise. 
     And it will put you on the right path to writing better software.
     Even if you don't write science based software, and even if you already have a CS degree, there's some good information worth reading.

    Special Guest: Patrick Mineault.


    Links:




    ]]>
    I don't think it's too much of a stretch to say that software is part of most scientific research now.
     From astronomy, to neuroscience, to chemistry, to climate models. 
     If you work in research that hasn't been affected by software yet, just wait.

    But how good is that software? 

    How much of common best practices in software development are making it to those writing software in the sciences?

    Patrick Mineault has written "The Good Research Code Handbook". 
     It's a website. It's concise. 
     And it will put you on the right path to writing better software.
     Even if you don't write science based software, and even if you already have a CS degree, there's some good information worth reading.

    Special Guest: Patrick Mineault.


    Links:




    ]]>
    Tue, 30 Aug 2022 08:15:00 -0700 Brian Okken Brian Okken 2585 I don't think it's too much of a stretch to say that software is part of most scientific research now.
     From astronomy, to neuroscience, to chemistry, to climate models. 
     If you work in research that hasn't been affected by software yet, just wait.

    But how good is that software? 

    How much of common best practices in software development are making it to those writing software in the sciences?

    Patrick Mineault has written "The Good Research Code Handbook". 
     It's a website. It's concise. 
     And it will put you on the right path to writing better software.
     Even if you don't write science based software, and even if you already have a CS degree, there's some good information worth reading.

    Special Guest: Patrick Mineault.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Patrick Mineault
    192: Learn to code through game development with PursuedPyBear - Piper Thunstrom 192 192 192: Learn to code through game development with PursuedPyBear - Piper Thunstrom full 91fb4955-cc86-4d1b-b0b3-5b2e6364acc1 https://pythontest.com/testandcode/episodes/192-learn-to-code-through-game-development-with-pursuedpybear-piper-thunstrom The first game I remember coding, or at least copying from a magazine, was in Basic. It was Lunar Lander. 

    Learning to code a game is a way that a lot of people get started and excited about programming. 

    Of course, I don't recommend Basic. Now we've got Python. And one of the game engines available for Python is PursuedPyBear, a project started by Piper Thunstrom. 

    Piper joins us this episode and we talk about PursuedPyBear, learning to code, and learning CS concepts with game development. 

    PursuedPyBear, ppb, is a game framework great for learning with, with goals of being fun, education friendly, an example of idiomatic Python, hardware library agnostic, and built on event driven and object oriented concepts.

    Special Guest: Piper Thunstrom.


    Links:




    ]]>
    The first game I remember coding, or at least copying from a magazine, was in Basic. It was Lunar Lander. 

    Learning to code a game is a way that a lot of people get started and excited about programming. 

    Of course, I don't recommend Basic. Now we've got Python. And one of the game engines available for Python is PursuedPyBear, a project started by Piper Thunstrom. 

    Piper joins us this episode and we talk about PursuedPyBear, learning to code, and learning CS concepts with game development. 

    PursuedPyBear, ppb, is a game framework great for learning with, with goals of being fun, education friendly, an example of idiomatic Python, hardware library agnostic, and built on event driven and object oriented concepts.

    Special Guest: Piper Thunstrom.


    Links:




    ]]>
    Sat, 06 Aug 2022 16:15:00 -0700 Brian Okken Brian Okken 2536 The first game I remember coding, or at least copying from a magazine, was in Basic. It was Lunar Lander. 

    Learning to code a game is a way that a lot of people get started and excited about programming. 

    Of course, I don't recommend Basic. Now we've got Python. And one of the game engines available for Python is PursuedPyBear, a project started by Piper Thunstrom. 

    Piper joins us this episode and we talk about PursuedPyBear, learning to code, and learning CS concepts with game development. 

    PursuedPyBear, ppb, is a game framework great for learning with, with goals of being fun, education friendly, an example of idiomatic Python, hardware library agnostic, and built on event driven and object oriented concepts.

    Special Guest: Piper Thunstrom.


    Links:




    ]]>
    Python, game development, education, game engine No Brian Okken Piper Thunstrom
    191: Running your own site for fun and absolutely no profit whatsoever - Brian Wisti 191 191 191: Running your own site for fun and absolutely no profit whatsoever - Brian Wisti full 325df115-704f-47ec-a50c-2e50ecada181 https://pythontest.com/testandcode/episodes/191-running-your-own-site-for-fun-and-absolutely-no-profit-whatsoever-brian-wisti Having a personal site is a great playground for learning tons of skills. Brian Wisti discusses the benefits of running a his own blog over the years.


    Links:




    ]]>
    Having a personal site is a great playground for learning tons of skills. Brian Wisti discusses the benefits of running a his own blog over the years.


    Links:




    ]]>
    Fri, 01 Jul 2022 10:45:00 -0700 Brian Okken Brian Okken 2762 Having a personal site is a great playground for learning tons of skills. Brian Wisti discusses the benefits of running a his own blog over the years.


    Links:




    ]]>
    personal site, blogging, education No Brian Okken Brian Wisti
    190: Testing PyPy - Carl Friedrich Bolz-Tereick 190 190 190: Testing PyPy - Carl Friedrich Bolz-Tereick full 8caa58c5-5138-481f-a52f-bfd7eb0c2f75 https://pythontest.com/testandcode/episodes/190-testing-pypy-carl-friedrich-bolz-tereick PyPy is a fast, compliant alternative implementation of Python.
     cPython is implemented in C.

     PyPy is implemented in Python.
     What does that mean?

     And how do you test something as huge as an alternative implementation of Python?

    Special Guest: Carl Friedrich Bolz-Tereick.


    Links:




    ]]>
    PyPy is a fast, compliant alternative implementation of Python.
     cPython is implemented in C.

     PyPy is implemented in Python.
     What does that mean?

     And how do you test something as huge as an alternative implementation of Python?

    Special Guest: Carl Friedrich Bolz-Tereick.


    Links:




    ]]>
    Tue, 21 Jun 2022 05:00:00 -0700 Brian Okken Brian Okken 3042 PyPy is a fast, compliant alternative implementation of Python.
     cPython is implemented in C.

     PyPy is implemented in Python.
     What does that mean?

     And how do you test something as huge as an alternative implementation of Python?

    Special Guest: Carl Friedrich Bolz-Tereick.


    Links:




    ]]>
    Python, interpreter testing, application testing, performance testing No Brian Okken CF Bolz-Tereick
    189: attrs and dataclasses - Hynek Schlawack 189 189 189: attrs and dataclasses - Hynek Schlawack full 6da56574-0faa-463f-a64f-abaab47d97f1 https://pythontest.com/testandcode/episodes/189-attrs-and-dataclasses-hynek-schlawack 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.


    Links:




    ]]>
    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.


    Links:




    ]]>
    Tue, 07 Jun 2022 14:30:00 -0700 Brian Okken Brian Okken 1941 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.


    Links:




    ]]>
    Python, dataclasses, attrs No Brian Okken Hynek Schlawack
    188: Python's Rich, Textual, and Textualize - Innovating the CLI 188 188 188: Python's Rich, Textual, and Textualize - Innovating the CLI full c47de884-c119-4a15-a19e-792258528a99 https://pythontest.com/testandcode/episodes/188-pythons-rich-textual-and-textualize-innovating-the-cli Will McGugan has brought a lot of color to CLIs within Python due to Rich. 
     Then Textual started rethinking full command line applications, including layout with CSS.
     And now Textualize, a new startup, is bringing CLI apps to the web.



    Links:




    ]]>
    Will McGugan has brought a lot of color to CLIs within Python due to Rich. 
     Then Textual started rethinking full command line applications, including layout with CSS.
     And now Textualize, a new startup, is bringing CLI apps to the web.



    Links:




    ]]>
    Tue, 17 May 2022 06:15:00 -0700 Brian Okken Brian Okken 2132 Will McGugan has brought a lot of color to CLIs within Python due to Rich. 
     Then Textual started rethinking full command line applications, including layout with CSS.
     And now Textualize, a new startup, is bringing CLI apps to the web.



    Links:




    ]]>
    CLI, web, CSS, textualize, rich No Brian Okken Will McGugan
    187: Teaching Web Development, including Front End Testing 187 187 187: Teaching Web Development, including Front End Testing full 5b3e5b32-c971-4875-9044-0e9e3d409923 https://pythontest.com/testandcode/episodes/187-teaching-web-development-including-front-end-testing 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: testing, version control, and documentation

    Karl is also writing a book on WebRTC, so we jump into that a bit too.



    Links:




    ]]>
    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: testing, version control, and documentation

    Karl is also writing a book on WebRTC, so we jump into that a bit too.



    Links:




    ]]>
    Fri, 13 May 2022 05:45:00 -0700 Brian Okken Brian Okken 2410 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: testing, version control, and documentation

    Karl is also writing a book on WebRTC, so we jump into that a bit too.



    Links:




    ]]>
    html, css, front end testing, linting, code quality, validation No Brian Okken Karl Stoley
    186: Developer and Team Productivity 186 186 186: Developer and Team Productivity full 20de346d-d65b-46e8-98ad-254a867d4351 https://pythontest.com/testandcode/episodes/186-developer-and-team-productivity Being productive is obviously a good thing.
     Can we measure it?
     Should we measure it?
     There's been failed attempts, like lines of code, etc. in the past.
     Currently, there are new tools to measure productivity, like using git metrics.

    Nick Hodges joins the show to discuss the good and the bad of developer and team productivity, including how we can improve productivity.





    ]]>
    Being productive is obviously a good thing.
     Can we measure it?
     Should we measure it?
     There's been failed attempts, like lines of code, etc. in the past.
     Currently, there are new tools to measure productivity, like using git metrics.

    Nick Hodges joins the show to discuss the good and the bad of developer and team productivity, including how we can improve productivity.





    ]]>
    Thu, 12 May 2022 00:00:00 -0700 Brian Okken Brian Okken 3086 Being productive is obviously a good thing.
     Can we measure it?
     Should we measure it?
     There's been failed attempts, like lines of code, etc. in the past.
     Currently, there are new tools to measure productivity, like using git metrics.

    Nick Hodges joins the show to discuss the good and the bad of developer and team productivity, including how we can improve productivity.





    ]]>
    productivity, git metrics No Brian Okken Nick Hodges
    185: Python + Django + Rich + Testing == Awesome 185 185 185: Python + Django + Rich + Testing == Awesome full e6b11f26-2074-4d0d-a980-457fe3ba1f42 https://pythontest.com/testandcode/episodes/185-python-django-rich-testing-awesome 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 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:




    ]]>
    Wed, 11 May 2022 00:00:00 -0700 Brian Okken Brian Okken 1271 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:




    ]]>
    python, unittest, django, rich No Brian Okken Adam Johnson David Smith
    184: Twisted and Testing Event Driven / Asynchronous Applications - Glyph 184 184 184: Twisted and Testing Event Driven / Asynchronous Applications - Glyph full 81f9542a-39d7-421b-8730-e65ba3a620ae https://pythontest.com/testandcode/episodes/184-twisted-and-testing-event-driven-asynchronous-applications-glyph Twisted has been supporting asynchronous / event driven applications way before asyncio. Twisted, and Glyph, have also been encouraging automated tests for a very long time.

    Twisted uses a technique that should be usable by other applications, even those using asyncio or other event driven architectures.



    Links:




    ]]>
    Twisted has been supporting asynchronous / event driven applications way before asyncio. Twisted, and Glyph, have also been encouraging automated tests for a very long time.

    Twisted uses a technique that should be usable by other applications, even those using asyncio or other event driven architectures.



    Links:




    ]]>
    Mon, 21 Mar 2022 05:00:00 -0700 Brian Okken Brian Okken 2458 Twisted has been supporting asynchronous / event driven applications way before asyncio. Twisted, and Glyph, have also been encouraging automated tests for a very long time.

    Twisted uses a technique that should be usable by other applications, even those using asyncio or other event driven architectures.



    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Glyph
    183: Managing Software Teams - Ryan Cheley 183 183 183: Managing Software Teams - Ryan Cheley full da7ae553-6354-44b6-a95c-ac8dce8bf784 https://pythontest.com/testandcode/episodes/183-managing-software-teams-ryan-cheley 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 conversations
      • watching out for overworking





    ]]>
    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 conversations
      • watching out for overworking





    ]]>
    Wed, 16 Mar 2022 21:15:00 -0700 Brian Okken Brian Okken 2858 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 conversations
      • watching out for overworking





    ]]>
    managing software teams No Brian Okken Ryan Cheley
    182: An Unorthodox Technical Interview and Hiring Process - Nathan Aschbacher 182 182 182: An Unorthodox Technical Interview and Hiring Process - Nathan Aschbacher full 85ad9587-c649-48c6-97b5-3f7811cbe1ce https://pythontest.com/testandcode/episodes/182-an-unorthodox-technical-interview-and-hiring-process-nathan-aschbacher Don't you just love technical interviews, with someone who just saw your resume or CV 5 minutes ago asking you to write some code on a whiteboard. Probably code that has nothing to do with anything you've done before or anything you will do at the company.

    No? Neither does Nathan Aschbacher. 
     So when he started building the team at his company, he decided to do things differently.

    Hiring is one of the essential processes for building a great team.
     However, it's a high noise, low signal process.

    Nathan Aschbacher has a relatively unorthodox tech hiring approach. 
     He's trying to make it very humane, with a better signal to noise ratio. 

    Nathan is not intereseted in bizarre interview processes where the interviewer doesn't know anything about the interviewee beforehand, all people are asked the same questions, and people are asked to code on white boards.

    Instead, he states "if the goal is to try to figure out if the person can do the work with your team, and your trying to build the team that you are adding this person to, they need to know what the team is like, and determine if they want to be part of the team, and the team needs to know what the person is like and if they would be addititve to the team.

    So what's Nathan's process:

    • Screening resumes and CVs, looking for internal motivation to become an expert at something.
    • Basic phone screen, very informal.
    • A couple 2-3 hour pairings with someone on the team with whatever they are working on.
    • Debriefing both the candidate and the team afterwords.
    • Giving the candidate an opportunity for a second impression and following up on difficulties during the pairings.

    We discuss the process, and also:

    • trying to remove the barriers to team integration 
    • treating people as humans 

    And of course, there's the story of how Nathan ended up interviewing someone with Zoo experience an no technical experience for a technical role. Of course, it was a misunderstanding of a job requirement around experience with ZooKeeper. But it's a good story.





    ]]>
    Don't you just love technical interviews, with someone who just saw your resume or CV 5 minutes ago asking you to write some code on a whiteboard. Probably code that has nothing to do with anything you've done before or anything you will do at the company.

    No? Neither does Nathan Aschbacher. 
     So when he started building the team at his company, he decided to do things differently.

    Hiring is one of the essential processes for building a great team.
     However, it's a high noise, low signal process.

    Nathan Aschbacher has a relatively unorthodox tech hiring approach. 
     He's trying to make it very humane, with a better signal to noise ratio. 

    Nathan is not intereseted in bizarre interview processes where the interviewer doesn't know anything about the interviewee beforehand, all people are asked the same questions, and people are asked to code on white boards.

    Instead, he states "if the goal is to try to figure out if the person can do the work with your team, and your trying to build the team that you are adding this person to, they need to know what the team is like, and determine if they want to be part of the team, and the team needs to know what the person is like and if they would be addititve to the team.

    So what's Nathan's process:

    • Screening resumes and CVs, looking for internal motivation to become an expert at something.
    • Basic phone screen, very informal.
    • A couple 2-3 hour pairings with someone on the team with whatever they are working on.
    • Debriefing both the candidate and the team afterwords.
    • Giving the candidate an opportunity for a second impression and following up on difficulties during the pairings.

    We discuss the process, and also:

    • trying to remove the barriers to team integration 
    • treating people as humans 

    And of course, there's the story of how Nathan ended up interviewing someone with Zoo experience an no technical experience for a technical role. Of course, it was a misunderstanding of a job requirement around experience with ZooKeeper. But it's a good story.





    ]]>
    Tue, 08 Mar 2022 09:15:00 -0700 Brian Okken Brian Okken 2855 Don't you just love technical interviews, with someone who just saw your resume or CV 5 minutes ago asking you to write some code on a whiteboard. Probably code that has nothing to do with anything you've done before or anything you will do at the company.

    No? Neither does Nathan Aschbacher. 
     So when he started building the team at his company, he decided to do things differently.

    Hiring is one of the essential processes for building a great team.
     However, it's a high noise, low signal process.

    Nathan Aschbacher has a relatively unorthodox tech hiring approach. 
     He's trying to make it very humane, with a better signal to noise ratio. 

    Nathan is not intereseted in bizarre interview processes where the interviewer doesn't know anything about the interviewee beforehand, all people are asked the same questions, and people are asked to code on white boards.

    Instead, he states "if the goal is to try to figure out if the person can do the work with your team, and your trying to build the team that you are adding this person to, they need to know what the team is like, and determine if they want to be part of the team, and the team needs to know what the person is like and if they would be addititve to the team.

    So what's Nathan's process:

    • Screening resumes and CVs, looking for internal motivation to become an expert at something.
    • Basic phone screen, very informal.
    • A couple 2-3 hour pairings with someone on the team with whatever they are working on.
    • Debriefing both the candidate and the team afterwords.
    • Giving the candidate an opportunity for a second impression and following up on difficulties during the pairings.

    We discuss the process, and also:

    • trying to remove the barriers to team integration 
    • treating people as humans 

    And of course, there's the story of how Nathan ended up interviewing someone with Zoo experience an no technical experience for a technical role. Of course, it was a misunderstanding of a job requirement around experience with ZooKeeper. But it's a good story.





    ]]>
    technical interview, technical hiring No Brian Okken Nathan Aschbacher
    181: Boost Your Django DX - Adam Johnson 181 181 181: Boost Your Django DX - Adam Johnson full 1aea2461-7d5f-4f90-916c-fbd8ca50967e https://pythontest.com/testandcode/episodes/181-boost-your-django-dx-adam-johnson We talk with Adam Johnson about his new book, "Boost Your Django DX". 

    Developer experience includes tools and practices to make developers more effective and efficient, and just plain make software development more fun and satisfying. 
     One of the things I love about this book is that it's not just for Django devs. 
     I'd guess that about half the book is about topics that all Python developers would find useful, from virtual environments to linters to testing. 
     But of course, also tons of tips and tools for working with Django.


    Links:




    ]]>
    We talk with Adam Johnson about his new book, "Boost Your Django DX". 

    Developer experience includes tools and practices to make developers more effective and efficient, and just plain make software development more fun and satisfying. 
     One of the things I love about this book is that it's not just for Django devs. 
     I'd guess that about half the book is about topics that all Python developers would find useful, from virtual environments to linters to testing. 
     But of course, also tons of tips and tools for working with Django.


    Links:




    ]]>
    Mon, 28 Feb 2022 23:00:00 -0700 Brian Okken Brian Okken 1613 We talk with Adam Johnson about his new book, "Boost Your Django DX". 

    Developer experience includes tools and practices to make developers more effective and efficient, and just plain make software development more fun and satisfying. 
     One of the things I love about this book is that it's not just for Django devs. 
     I'd guess that about half the book is about topics that all Python developers would find useful, from virtual environments to linters to testing. 
     But of course, also tons of tips and tools for working with Django.


    Links:




    ]]>
    Django, developer experience No Brian Okken Adam Johnson
    180: Lean TDD 180 180 180: Lean TDD full 9aba7c0d-11eb-4bde-adc6-6187c96436b9 https://pythontest.com/testandcode/episodes/180-lean-tdd Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.

    I've mentioned Lean TDD on the podcast a few times and even tried to do a quick outline at the end of episode 162.

    This episode is a more complete outline, or at least a first draft.

    If you feel you've got a good understanding of TDD, and it's working awesome for you, that's great. Keep doing what you're doing. There are no problems.

    For me, the normal way TDD is taught just doesn't work. So I'm trying to come up with a spin on some old ideas to make it work for me. I'm hoping it works for you as well.

    I'm calling the new thing Lean TDD. It's inspired by decades of experience writing software and influence from dozens of sources, including Pragmatic Programmer, Lean Software Development, Test-Driven Development by Example, and many blog posts and wiki articles. 

    The main highlights, however, come from the collision of ideas between Lean and TDD and how I've tried to resolve the seemingly opposing processes.


    Links:




    ]]>
    Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.

    I've mentioned Lean TDD on the podcast a few times and even tried to do a quick outline at the end of episode 162.

    This episode is a more complete outline, or at least a first draft.

    If you feel you've got a good understanding of TDD, and it's working awesome for you, that's great. Keep doing what you're doing. There are no problems.

    For me, the normal way TDD is taught just doesn't work. So I'm trying to come up with a spin on some old ideas to make it work for me. I'm hoping it works for you as well.

    I'm calling the new thing Lean TDD. It's inspired by decades of experience writing software and influence from dozens of sources, including Pragmatic Programmer, Lean Software Development, Test-Driven Development by Example, and many blog posts and wiki articles. 

    The main highlights, however, come from the collision of ideas between Lean and TDD and how I've tried to resolve the seemingly opposing processes.


    Links:




    ]]>
    Mon, 21 Feb 2022 01:00:00 -0700 Brian Okken Brian Okken 1553 Lean TDD is an attempt to reconcile some conflicting aspects of Test Driven Development and Lean Software Development.

    I've mentioned Lean TDD on the podcast a few times and even tried to do a quick outline at the end of episode 162.

    This episode is a more complete outline, or at least a first draft.

    If you feel you've got a good understanding of TDD, and it's working awesome for you, that's great. Keep doing what you're doing. There are no problems.

    For me, the normal way TDD is taught just doesn't work. So I'm trying to come up with a spin on some old ideas to make it work for me. I'm hoping it works for you as well.

    I'm calling the new thing Lean TDD. It's inspired by decades of experience writing software and influence from dozens of sources, including Pragmatic Programmer, Lean Software Development, Test-Driven Development by Example, and many blog posts and wiki articles. 

    The main highlights, however, come from the collision of ideas between Lean and TDD and how I've tried to resolve the seemingly opposing processes.


    Links:




    ]]>
    Lean Software Development, TDD, Lean TDD No Brian Okken
    179: Exploratory Testing 179 179 179: Exploratory Testing full 00fe3327-f429-4765-8cf6-017632ac9804 https://pythontest.com/testandcode/episodes/179-exploratory-testing Exploratory testing is absolutely an essential part of a testing strategy.
     This episode discusses what exploratory testing is, its benefits, and how it fits within a framework of relying on automated tests for most of our testing.





    ]]>
    Exploratory testing is absolutely an essential part of a testing strategy.
     This episode discusses what exploratory testing is, its benefits, and how it fits within a framework of relying on automated tests for most of our testing.





    ]]>
    Tue, 08 Feb 2022 22:45:00 -0700 Brian Okken Brian Okken 641 Exploratory testing is absolutely an essential part of a testing strategy.
     This episode discusses what exploratory testing is, its benefits, and how it fits within a framework of relying on automated tests for most of our testing.





    ]]>
    software testing No Brian Okken
    178: The Five Factors of Automated Software Testing 178 178 178: The Five Factors of Automated Software Testing full d140d89d-122b-4d1a-984a-31ce65b802e0 https://pythontest.com/testandcode/episodes/178-the-five-factors-of-automated-software-testing "There are five practical reasons that we write tests. Whether we realize it or not, our personal testing philosophy is based on how we judge the relative importance of these reasons." - Sarah Mei

    This episode discusses the factors.

    Sarah's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Document the code’s behavior
    4. Provide design guidance
    5. Support refactoring

    Brian's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Support refactoring
    4. Provide design guidance
    5. Document the code’s behavior

    The episode includes reasons why I've re-ordered them.


    Links:




    ]]>
    "There are five practical reasons that we write tests. Whether we realize it or not, our personal testing philosophy is based on how we judge the relative importance of these reasons." - Sarah Mei

    This episode discusses the factors.

    Sarah's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Document the code’s behavior
    4. Provide design guidance
    5. Support refactoring

    Brian's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Support refactoring
    4. Provide design guidance
    5. Document the code’s behavior

    The episode includes reasons why I've re-ordered them.


    Links:




    ]]>
    Mon, 31 Jan 2022 13:00:00 -0700 Brian Okken Brian Okken 573 "There are five practical reasons that we write tests. Whether we realize it or not, our personal testing philosophy is based on how we judge the relative importance of these reasons." - Sarah Mei

    This episode discusses the factors.

    Sarah's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Document the code’s behavior
    4. Provide design guidance
    5. Support refactoring

    Brian's order:

    1. Verify the code is working correctly
    2. Prevent future regressions
    3. Support refactoring
    4. Provide design guidance
    5. Document the code’s behavior

    The episode includes reasons why I've re-ordered them.


    Links:




    ]]>
    software testing No Brian Okken
    177: Unit Test vs Integration Test and The Testing Trophy 177 177 177: Unit Test vs Integration Test and The Testing Trophy full 970e1fef-8d7c-4aa6-b0d1-a997b83e8778 https://pythontest.com/testandcode/episodes/177-unit-test-vs-integration-test-and-the-testing-trophy A recent Twitter thread by Simon Willison reminded me that I've been meaning to do an episode on the testing trophy.
     This discussion is about the distinction between unit and integration tests, what those terms mean, and where we should spend our testing time.


    Links:




    ]]>
    A recent Twitter thread by Simon Willison reminded me that I've been meaning to do an episode on the testing trophy.
     This discussion is about the distinction between unit and integration tests, what those terms mean, and where we should spend our testing time.


    Links:




    ]]>
    Thu, 27 Jan 2022 22:15:00 -0700 Brian Okken Brian Okken 1248 A recent Twitter thread by Simon Willison reminded me that I've been meaning to do an episode on the testing trophy.
     This discussion is about the distinction between unit and integration tests, what those terms mean, and where we should spend our testing time.


    Links:




    ]]>
    testing trophy, unit tests, integration tests No Brian Okken
    176: SaaS Side Projects - Brandon Braner 176 176 176: SaaS Side Projects - Brandon Braner full 046bbdf7-c287-4241-8e60-7ad6a53ebf5c https://pythontest.com/testandcode/episodes/176-saas-side-projects The idea of having a software as a service product sound great, doesn't it?

     Solve a problem with software. Have a nice looking landing page and website. Get paying customers.

     Eventually have it make enough revenue so you can turn it into your primary source of income. 

    There's a lot of software talent out there. We could solve lots of problems. 
     But going from idea to product to first customer is non-trivial. 
     Especially as a side hustle. 
     This episode discusses some of the hurdles from idea to first customer. 

    Brandon Braner is building Released.sh. It's a cool idea, but it's not done yet. 

    Brandon and I talk about building side projects:

    • finding a target audience
    • limiting scope to something doable by one person
    • building a great looking landing page
    • finding time to work on things
    • prioritizing and planning
    • learning while building
    • even utilizing third party services to allow you to launch faster
    • and last, but not least, having fun


    Special Guest: Brandon Braner.


    Links:




    ]]>
    The idea of having a software as a service product sound great, doesn't it?

     Solve a problem with software. Have a nice looking landing page and website. Get paying customers.

     Eventually have it make enough revenue so you can turn it into your primary source of income. 

    There's a lot of software talent out there. We could solve lots of problems. 
     But going from idea to product to first customer is non-trivial. 
     Especially as a side hustle. 
     This episode discusses some of the hurdles from idea to first customer. 

    Brandon Braner is building Released.sh. It's a cool idea, but it's not done yet. 

    Brandon and I talk about building side projects:

    • finding a target audience
    • limiting scope to something doable by one person
    • building a great looking landing page
    • finding time to work on things
    • prioritizing and planning
    • learning while building
    • even utilizing third party services to allow you to launch faster
    • and last, but not least, having fun


    Special Guest: Brandon Braner.


    Links:




    ]]>
    Tue, 18 Jan 2022 01:00:00 -0700 Brian Okken Brian Okken 1492 The idea of having a software as a service product sound great, doesn't it?

     Solve a problem with software. Have a nice looking landing page and website. Get paying customers.

     Eventually have it make enough revenue so you can turn it into your primary source of income. 

    There's a lot of software talent out there. We could solve lots of problems. 
     But going from idea to product to first customer is non-trivial. 
     Especially as a side hustle. 
     This episode discusses some of the hurdles from idea to first customer. 

    Brandon Braner is building Released.sh. It's a cool idea, but it's not done yet. 

    Brandon and I talk about building side projects:

    • finding a target audience
    • limiting scope to something doable by one person
    • building a great looking landing page
    • finding time to work on things
    • prioritizing and planning
    • learning while building
    • even utilizing third party services to allow you to launch faster
    • and last, but not least, having fun


    Special Guest: Brandon Braner.


    Links:




    ]]>
    SaaS, side projects No Brian Okken
    175: Who Should Do QA? 175 175 175: Who Should Do QA? full 21d96fef-d558-4176-a67f-9f8d89fcbd0a https://pythontest.com/testandcode/episodes/175-who-should-do-qa
  • Who should do QA?
  • How does that change with different projects and teams?
  • What does "doing QA" mean, anyway?
  • Answering these questions are the goals of this episode.


    Links:




    ]]>
  • Who should do QA?
  • How does that change with different projects and teams?
  • What does "doing QA" mean, anyway?
  • Answering these questions are the goals of this episode.


    Links:




    ]]>
    Wed, 12 Jan 2022 01:00:00 -0700 Brian Okken Brian Okken 733
  • Who should do QA?
  • How does that change with different projects and teams?
  • What does "doing QA" mean, anyway?
  • Answering these questions are the goals of this episode.


    Links:




    ]]>
    qa, software testing No Brian Okken
    174: pseudo-TDD - Paul Ganssle 174 174 174: pseudo-TDD - Paul Ganssle full 57be1820-e728-488c-8e88-2de99444de8d https://pythontest.com/testandcode/episodes/174-pseudo-tdd-paul-ganssle In this episode, I talk with Paul Ganssle about a fun workflow that he calls pseudo-TDD.
     Pseudo-TDD is a way to keep your commit history clean and your tests passing with each commit.
     This workflow includes using pytest xfail and some semi-advanced version control features.

    Some strict forms of TDD include something like this:

    • write a failing test that demonstrates a lacking feature or defect
    • write the source code to get the test to pass
    • refactor if necessary
    • repeat

    In reality, at least for me, the software development process is way more messy than this, and not so smooth and linear.

    Pauls workflow allow you to develop non-linearly, but commit cleanly.


    Links:




    ]]>
    In this episode, I talk with Paul Ganssle about a fun workflow that he calls pseudo-TDD.
     Pseudo-TDD is a way to keep your commit history clean and your tests passing with each commit.
     This workflow includes using pytest xfail and some semi-advanced version control features.

    Some strict forms of TDD include something like this:

    • write a failing test that demonstrates a lacking feature or defect
    • write the source code to get the test to pass
    • refactor if necessary
    • repeat

    In reality, at least for me, the software development process is way more messy than this, and not so smooth and linear.

    Pauls workflow allow you to develop non-linearly, but commit cleanly.


    Links:




    ]]>
    Wed, 22 Dec 2021 12:00:00 -0700 Brian Okken Brian Okken 2350 In this episode, I talk with Paul Ganssle about a fun workflow that he calls pseudo-TDD.
     Pseudo-TDD is a way to keep your commit history clean and your tests passing with each commit.
     This workflow includes using pytest xfail and some semi-advanced version control features.

    Some strict forms of TDD include something like this:

    • write a failing test that demonstrates a lacking feature or defect
    • write the source code to get the test to pass
    • refactor if necessary
    • repeat

    In reality, at least for me, the software development process is way more messy than this, and not so smooth and linear.

    Pauls workflow allow you to develop non-linearly, but commit cleanly.


    Links:




    ]]>
    TDD, pytest, git No Brian Okken Paul Ganssle
    173: Why NOT unittest? 173 173 173: Why NOT unittest? full 50eaedb6-3cc7-4975-8170-e8749ba2174e https://pythontest.com/testandcode/episodes/173-why-not-unittest In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?".

    unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing.

    That's what this episode is about, my opinion of 

    • "Why NOT unittest?", or more broadly, 
    • "What are the fatal flaws of xUnit?"


    Links:




    ]]>
    In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?".

    unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing.

    That's what this episode is about, my opinion of 

    • "Why NOT unittest?", or more broadly, 
    • "What are the fatal flaws of xUnit?"


    Links:




    ]]>
    Fri, 17 Dec 2021 13:00:00 -0700 Brian Okken Brian Okken 1404 In the preface of "Python Testing with pytest" I list some reasons to use pytest, under a section called "why pytest?". Someone asked me recently, a different but related question "why NOT unittest?".

    unittest is an xUnit style framework. For me, xUnit style frameworks are fatally flawed for software testing.

    That's what this episode is about, my opinion of 

    • "Why NOT unittest?", or more broadly, 
    • "What are the fatal flaws of xUnit?"


    Links:




    ]]>
    unittest, pytest, xunit, Python No Brian Okken
    172: Designing Better Software with a Prototype Mindset 172 172 172: Designing Better Software with a Prototype Mindset full 84d70f46-2af3-4b68-a82e-7c6bbfe93637 https://pythontest.com/testandcode/episodes/172-designing-better-software-with-a-prototype-mindset A prototype is a a preliminary model of something, from which other forms are developed or copied.
     In software, we think of prototypes as early things, or a proof of concept.
     We don't often think of prototyping during daily software development or maintenance. I think we should.
     This episode is about growing better designed software with the help of a prototype mindset.


    Links:




    ]]>
    A prototype is a a preliminary model of something, from which other forms are developed or copied.
     In software, we think of prototypes as early things, or a proof of concept.
     We don't often think of prototyping during daily software development or maintenance. I think we should.
     This episode is about growing better designed software with the help of a prototype mindset.


    Links:




    ]]>
    Tue, 30 Nov 2021 01:00:00 -0700 Brian Okken Brian Okken 395 A prototype is a a preliminary model of something, from which other forms are developed or copied.
     In software, we think of prototypes as early things, or a proof of concept.
     We don't often think of prototyping during daily software development or maintenance. I think we should.
     This episode is about growing better designed software with the help of a prototype mindset.


    Links:




    ]]>
    software design No Brian Okken
    171: How and why I use pytest's xfail - Paul Ganssle 171 171 171: How and why I use pytest's xfail - Paul Ganssle full 67a4470a-1265-4197-b004-6d945829da2b https://pythontest.com/testandcode/episodes/171-how-and-why-i-use-pytests-xfail-paul-ganssle Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail.
     He was an early skeptic of using xfail, and is now an proponent of the feature.
     In this episode, we talk about some open source workflows that are possible because of xfail. 


    Special Guest: Paul Ganssle.


    Links:




    ]]>
    Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail.
     He was an early skeptic of using xfail, and is now an proponent of the feature.
     In this episode, we talk about some open source workflows that are possible because of xfail. 


    Special Guest: Paul Ganssle.


    Links:




    ]]>
    Mon, 22 Nov 2021 01:00:00 -0700 Brian Okken Brian Okken 2277 Paul Ganssle, is a software developer at Google, core Python dev, and open source maintainer for many projects, has some thoughts about pytest's xfail.
     He was an early skeptic of using xfail, and is now an proponent of the feature.
     In this episode, we talk about some open source workflows that are possible because of xfail. 


    Special Guest: Paul Ganssle.


    Links:




    ]]>
    xfail, pytest No Brian Okken Paul Ganssle
    170: pytest for Data Science and Machine Learning - Prayson Daniel 170 170 170: pytest for Data Science and Machine Learning - Prayson Daniel full 13527540-6f5b-44c1-b3fc-1f28aeeec3dd https://pythontest.com/testandcode/episodes/170-pytest-for-data-science-and-machine-learning-prayson-daniel Prayson Daniel, a principle data scientist, discusses testing machine learning pipelines with pytest.

    Prayson is using pytest for some pretty cool stuff, including:

    • unit tests, of course
    • testing pipeline stages
    • counterfactual testing
    • performance testing

    All with pytest. So cool.


    Special Guest: Prayson Daniel.


    Links:




    ]]>
    Prayson Daniel, a principle data scientist, discusses testing machine learning pipelines with pytest.

    Prayson is using pytest for some pretty cool stuff, including:

    • unit tests, of course
    • testing pipeline stages
    • counterfactual testing
    • performance testing

    All with pytest. So cool.


    Special Guest: Prayson Daniel.


    Links:




    ]]>
    Wed, 17 Nov 2021 22:30:00 -0700 Brian Okken Brian Okken 2698 Prayson Daniel, a principle data scientist, discusses testing machine learning pipelines with pytest.

    Prayson is using pytest for some pretty cool stuff, including:

    • unit tests, of course
    • testing pipeline stages
    • counterfactual testing
    • performance testing

    All with pytest. So cool.


    Special Guest: Prayson Daniel.


    Links:




    ]]>
    data science, machine learning, ML pipelines, pytest, software testing No Brian Okken
    169: Service and Microservice Performance Monitoring - Omri Sass 169 169 169: Service and Microservice Performance Monitoring - Omri Sass full 5a9eff14-11df-40e7-8d3f-df0b4f022d40 https://pythontest.com/testandcode/episodes/169-service-and-microservice-performance-monitoring-omri-sass Performance monitoring and error detection is just as important with services and microservices as with any system, but with added complexity. Omri Sass joins the show to explain telemetry and monitoring of services and of systems with services. 


    Special Guest: Omri Sass.





    ]]>
    Performance monitoring and error detection is just as important with services and microservices as with any system, but with added complexity. Omri Sass joins the show to explain telemetry and monitoring of services and of systems with services. 


    Special Guest: Omri Sass.





    ]]>
    Thu, 11 Nov 2021 11:00:00 -0700 Brian Okken Brian Okken 1804 Performance monitoring and error detection is just as important with services and microservices as with any system, but with added complexity. Omri Sass joins the show to explain telemetry and monitoring of services and of systems with services. 


    Special Guest: Omri Sass.





    ]]>
    performance monitoring, APM, services, microservices No Brian Okken
    168: Understanding Complex Code by Refactoring into Larger Functions 168 168 168: Understanding Complex Code by Refactoring into Larger Functions full 841943a8-3f1c-42a9-b316-015b8c75bce0 https://pythontest.com/testandcode/episodes/168-understanding-complex-code-by-refactoring-into-larger-functions To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix, but don't completely understand.






    ]]>
    To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix, but don't completely understand.






    ]]>
    Tue, 02 Nov 2021 07:15:00 -0700 Brian Okken Brian Okken 668 To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix, but don't completely understand.






    ]]>
    refactoring No Brian Okken
    167: React, TypeScript, and the Joy of Testing - Paul Everitt 167 167 167: React, TypeScript, and the Joy of Testing - Paul Everitt full 0749a8f0-4020-4f9e-ada5-e8315f09c395 https://pythontest.com/testandcode/episodes/167-react-typescript-and-the-joy-of-testing-paul-everitt Paul has a tutorial on testing and TDD with React and TypeScript. 
     We discuss workflow and the differences, similarities between testing with React/TypeScript and Python.
     We also discuss what lessons that we can bring from front end testing to Python testing.


    Special Guest: Paul Everitt.


    Links:




    ]]>
    Paul has a tutorial on testing and TDD with React and TypeScript. 
     We discuss workflow and the differences, similarities between testing with React/TypeScript and Python.
     We also discuss what lessons that we can bring from front end testing to Python testing.


    Special Guest: Paul Everitt.


    Links:




    ]]>
    Thu, 21 Oct 2021 21:15:00 -0700 Brian Okken Brian Okken 2233 Paul has a tutorial on testing and TDD with React and TypeScript. 
     We discuss workflow and the differences, similarities between testing with React/TypeScript and Python.
     We also discuss what lessons that we can bring from front end testing to Python testing.


    Special Guest: Paul Everitt.


    Links:




    ]]>
    JavaScript, React, TypeScript, TDD, No Brian Okken
    166: unittest expectedFailure and xfail 166 166 166: unittest expectedFailure and xfail full 8992c879-1665-4f52-a03e-8b11645302ce https://pythontest.com/testandcode/episodes/166-unittest-expectedfailure-and-xfail xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.

    In this episode, we cover:

    • using @unittest.expectedFailure
    • the results of passing and failing tests with expectedFailure
    • using pytest as a test runner for unittest
    • using pytest markers on unittest tests

    Docs for expectedFailure:
     https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures

    Some sample code. 
     unittest only:

    import unittest class ExpectedFailureTestCase(unittest.TestCase): @unittest.expectedFailure def test_fail(self): self.assertEqual(1, 0, "broken") @unittest.expectedFailure def test_pass(self): self.assertEqual(1, 1, "not broken")

    unittest with pytest markers:

    import unittest import pytest class ExpectedFailureTestCase(unittest.TestCase): @pytest.mark.xfail def test_fail(self): self.assertEqual(1, 0, "broken") @pytest.mark.xfail def test_pass(self): self.assertEqual(1, 1, "not broken")






    ]]>
    xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.

    In this episode, we cover:

    • using @unittest.expectedFailure
    • the results of passing and failing tests with expectedFailure
    • using pytest as a test runner for unittest
    • using pytest markers on unittest tests

    Docs for expectedFailure:
     https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures

    Some sample code. 
     unittest only:

    import unittest class ExpectedFailureTestCase(unittest.TestCase): @unittest.expectedFailure def test_fail(self): self.assertEqual(1, 0, "broken") @unittest.expectedFailure def test_pass(self): self.assertEqual(1, 1, "not broken")

    unittest with pytest markers:

    import unittest import pytest class ExpectedFailureTestCase(unittest.TestCase): @pytest.mark.xfail def test_fail(self): self.assertEqual(1, 0, "broken") @pytest.mark.xfail def test_pass(self): self.assertEqual(1, 1, "not broken")






    ]]>
    Thu, 14 Oct 2021 10:45:00 -0700 Brian Okken Brian Okken 407 xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.

    In this episode, we cover:

    • using @unittest.expectedFailure
    • the results of passing and failing tests with expectedFailure
    • using pytest as a test runner for unittest
    • using pytest markers on unittest tests

    Docs for expectedFailure:
     https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures

    Some sample code. 
     unittest only:

    import unittest class ExpectedFailureTestCase(unittest.TestCase): @unittest.expectedFailure def test_fail(self): self.assertEqual(1, 0, "broken") @unittest.expectedFailure def test_pass(self): self.assertEqual(1, 1, "not broken")

    unittest with pytest markers:

    import unittest import pytest class ExpectedFailureTestCase(unittest.TestCase): @pytest.mark.xfail def test_fail(self): self.assertEqual(1, 0, "broken") @pytest.mark.xfail def test_pass(self): self.assertEqual(1, 1, "not broken")






    ]]>
    Python, pytest, unittest, expectedFailure, xfail No Brian Okken
    165: pytest xfail policy and workflow 165 165 165: pytest xfail policy and workflow full 0c1c2f1e-eb9b-484c-a5be-657630e83773 https://pythontest.com/testandcode/episodes/165-pytest-xfail-policy-and-workflow A discussion of how to use the xfail feature of pytest to help with communication on software projects.

    The episode covers:

    • What is xfail
    • Why I use it
    • Using reason effectively by including issue tracking numbers
    • Using xfail_strict
    • Adding --runxfail when transitioning from development to feature freeze
    • What to do about test failures
    • How all of this might help with team communication





    ]]>
    A discussion of how to use the xfail feature of pytest to help with communication on software projects.

    The episode covers:

    • What is xfail
    • Why I use it
    • Using reason effectively by including issue tracking numbers
    • Using xfail_strict
    • Adding --runxfail when transitioning from development to feature freeze
    • What to do about test failures
    • How all of this might help with team communication





    ]]>
    Thu, 07 Oct 2021 15:15:00 -0700 Brian Okken Brian Okken 555 A discussion of how to use the xfail feature of pytest to help with communication on software projects.

    The episode covers:

    • What is xfail
    • Why I use it
    • Using reason effectively by including issue tracking numbers
    • Using xfail_strict
    • Adding --runxfail when transitioning from development to feature freeze
    • What to do about test failures
    • How all of this might help with team communication





    ]]>
    pytest, xfail, software testing No Brian Okken
    164: Debugging Python Test Failures with pytest 164 164 164: Debugging Python Test Failures with pytest full b4cf5d26-013a-4233-a219-f658d5c2fbc4 https://pythontest.com/testandcode/episodes/164-debugging-python-test-failures-with-pytest An overview of the pytest flags that help with debugging.
     From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.

    pytest includes quite a few command-line flags that are useful for debugging. 

    We talk about thes flags in this episode.

    Flags for selecting which tests to run, in which order, and when to stop:

    • -lf / --last-failed: Runs just the tests that failed last.
    • -ff / --failed-failed: Runs all the tests, starting with the last failed.
    • -x / --exitfirst: Stops the tests session afterEd: after?Author: yep the first failure.
    • --maxfail=num: Stops the tests after num failures.
    • -nf / --new-first: Runs all the tests, ordered by file modification time.
    • --sw / --stepwise: Stops the tests at the first failure. Starts the tests at the last failure next time.
    • --sw-skip / --stepwise-skip: Same as --sw, but skips the first failure.

    Flags to control pytest output:

    • -v / --verbose Displays all the test names, passing or failing.
    • --tb=[auto/long/short/line/native/no] Controls the traceback style.
    • -l / --showlocals Displays local variables alongside the stacktrace.

    Flags to start a command-line debugger:

    • --pdb Starts an interactive debugging session at the point of failure.
    • --trace Starts the pdb source-code debugger immediately when running each test.
    • --pdbcls Uses alternatives to pdb, such as IPython’s debugger with –-pdbcls=IPython.terminal.debugger:TerminalPdb.

    This list is also found in Chapter 13 of Python Testing with pytest, 2nd edition.
    The chapter is "Debugging Test Failures" and covers way more than just debug flags, while walking through debugging 2 test failures.


    Links:




    ]]>
    An overview of the pytest flags that help with debugging.
     From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.

    pytest includes quite a few command-line flags that are useful for debugging. 

    We talk about thes flags in this episode.

    Flags for selecting which tests to run, in which order, and when to stop:

    • -lf / --last-failed: Runs just the tests that failed last.
    • -ff / --failed-failed: Runs all the tests, starting with the last failed.
    • -x / --exitfirst: Stops the tests session afterEd: after?Author: yep the first failure.
    • --maxfail=num: Stops the tests after num failures.
    • -nf / --new-first: Runs all the tests, ordered by file modification time.
    • --sw / --stepwise: Stops the tests at the first failure. Starts the tests at the last failure next time.
    • --sw-skip / --stepwise-skip: Same as --sw, but skips the first failure.

    Flags to control pytest output:

    • -v / --verbose Displays all the test names, passing or failing.
    • --tb=[auto/long/short/line/native/no] Controls the traceback style.
    • -l / --showlocals Displays local variables alongside the stacktrace.

    Flags to start a command-line debugger:

    • --pdb Starts an interactive debugging session at the point of failure.
    • --trace Starts the pdb source-code debugger immediately when running each test.
    • --pdbcls Uses alternatives to pdb, such as IPython’s debugger with –-pdbcls=IPython.terminal.debugger:TerminalPdb.

    This list is also found in Chapter 13 of Python Testing with pytest, 2nd edition.
    The chapter is "Debugging Test Failures" and covers way more than just debug flags, while walking through debugging 2 test failures.


    Links:




    ]]>
    Tue, 14 Sep 2021 09:30:00 -0700 Brian Okken Brian Okken 754 An overview of the pytest flags that help with debugging.
     From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.

    pytest includes quite a few command-line flags that are useful for debugging. 

    We talk about thes flags in this episode.

    Flags for selecting which tests to run, in which order, and when to stop:

    • -lf / --last-failed: Runs just the tests that failed last.
    • -ff / --failed-failed: Runs all the tests, starting with the last failed.
    • -x / --exitfirst: Stops the tests session afterEd: after?Author: yep the first failure.
    • --maxfail=num: Stops the tests after num failures.
    • -nf / --new-first: Runs all the tests, ordered by file modification time.
    • --sw / --stepwise: Stops the tests at the first failure. Starts the tests at the last failure next time.
    • --sw-skip / --stepwise-skip: Same as --sw, but skips the first failure.

    Flags to control pytest output:

    • -v / --verbose Displays all the test names, passing or failing.
    • --tb=[auto/long/short/line/native/no] Controls the traceback style.
    • -l / --showlocals Displays local variables alongside the stacktrace.

    Flags to start a command-line debugger:

    • --pdb Starts an interactive debugging session at the point of failure.
    • --trace Starts the pdb source-code debugger immediately when running each test.
    • --pdbcls Uses alternatives to pdb, such as IPython’s debugger with –-pdbcls=IPython.terminal.debugger:TerminalPdb.

    This list is also found in Chapter 13 of Python Testing with pytest, 2nd edition.
    The chapter is "Debugging Test Failures" and covers way more than just debug flags, while walking through debugging 2 test failures.


    Links:




    ]]>
    pytest, debugging, software testing, Python No Brian Okken
    163: pip install ./local_directory - Stéphane Bidoul 163 163 163: pip install ./local_directory - Stéphane Bidoul full 6b8967d5-39f1-4f9f-9390-9f69bf9aa2c5 https://pythontest.com/testandcode/episodes/163-pip-install-local_directory-stephane-bidoul pip : "pip installs packages" or maybe "Package Installer for Python"
     pip is an invaluable tool when developing with Python.
     A lot of people know pip as a way to install third party packages from pypi.org
     You can also use pip to install from other indexes (or is it indices?)

    You can also use pip to install a package in a local directory.
     That's the part I want to jump in and explore with Stéphane Bidoul.
     The way pip installs from a local directory is about to change, and the story is fascinating.


    Special Guest: Stéphane Bidoul.


    Links:




    ]]>
    pip : "pip installs packages" or maybe "Package Installer for Python"
     pip is an invaluable tool when developing with Python.
     A lot of people know pip as a way to install third party packages from pypi.org
     You can also use pip to install from other indexes (or is it indices?)

    You can also use pip to install a package in a local directory.
     That's the part I want to jump in and explore with Stéphane Bidoul.
     The way pip installs from a local directory is about to change, and the story is fascinating.


    Special Guest: Stéphane Bidoul.


    Links:




    ]]>
    Fri, 20 Aug 2021 12:30:00 -0700 Brian Okken Brian Okken 1730 pip : "pip installs packages" or maybe "Package Installer for Python"
     pip is an invaluable tool when developing with Python.
     A lot of people know pip as a way to install third party packages from pypi.org
     You can also use pip to install from other indexes (or is it indices?)

    You can also use pip to install a package in a local directory.
     That's the part I want to jump in and explore with Stéphane Bidoul.
     The way pip installs from a local directory is about to change, and the story is fascinating.


    Special Guest: Stéphane Bidoul.


    Links:




    ]]>
    Python, pip, packaging No Brian Okken
    162: Flavors of TDD 162 162 162: Flavors of TDD full 123218ed-7197-4b42-ac01-dd1caaa81ae3 https://pythontest.com/testandcode/episodes/162-flavors-of-tdd What flavor of TDD do you practice? 

    In this episode we talk about:

    • Classical vs Mockist TDD
    • Detroit vs London (I actually refer to it in the episode as Chicago instead of Detroit. Oh well.)
    • Static vs Behavior
    • Inside Out vs Outside In
    • Double Loop TDD
    • BDD
    • FDD
    • Tracer Bullets
    • Rules of TDD
    • Team Structure
    • Lean TDD 

    This is definitely an episode I'd like feedback on. Reach out to me for further questions or if I missed some crucial variant of TDD that you know and love.


    Links:




    ]]>
    What flavor of TDD do you practice? 

    In this episode we talk about:

    • Classical vs Mockist TDD
    • Detroit vs London (I actually refer to it in the episode as Chicago instead of Detroit. Oh well.)
    • Static vs Behavior
    • Inside Out vs Outside In
    • Double Loop TDD
    • BDD
    • FDD
    • Tracer Bullets
    • Rules of TDD
    • Team Structure
    • Lean TDD 

    This is definitely an episode I'd like feedback on. Reach out to me for further questions or if I missed some crucial variant of TDD that you know and love.


    Links:




    ]]>
    Tue, 03 Aug 2021 12:00:00 -0700 Brian Okken Brian Okken 1319 What flavor of TDD do you practice? 

    In this episode we talk about:

    • Classical vs Mockist TDD
    • Detroit vs London (I actually refer to it in the episode as Chicago instead of Detroit. Oh well.)
    • Static vs Behavior
    • Inside Out vs Outside In
    • Double Loop TDD
    • BDD
    • FDD
    • Tracer Bullets
    • Rules of TDD
    • Team Structure
    • Lean TDD 

    This is definitely an episode I'd like feedback on. Reach out to me for further questions or if I missed some crucial variant of TDD that you know and love.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    161: Waste in Software Development 161 161 161: Waste in Software Development full 51251116-8aba-482c-9d65-bc641c66b7a8 https://pythontest.com/testandcode/episodes/161-waste-in-software-development Software development processes create value, and have waste, in the Lean sense of the word waste.
     Lean manufacturing and lean software development changed the way we look at value and waste.
     This episode looks at lean definitions of waste, so we can see it clearly when we encounter it.

    I'm going to use the term waste and value in future episodes. I'm using waste in a Lean sense, so we can look at software processes critically, see the value chain, and try to reduce waste.

    Lean manufacturing and lean software development caused people to talk about and examine waste and value, even in fields where we didn't really think about waste that much to begin with.

    Software is just ones and zeros. Is there waste? 
     When I delete a file, nothing goes into the landfill.

    The mistake I'm making here is confusing the common English definition of waste when what we're talking about is the Lean definition of waste.

    This episode tries to clear up the confusion.


    Links:




    ]]>
    Software development processes create value, and have waste, in the Lean sense of the word waste.
     Lean manufacturing and lean software development changed the way we look at value and waste.
     This episode looks at lean definitions of waste, so we can see it clearly when we encounter it.

    I'm going to use the term waste and value in future episodes. I'm using waste in a Lean sense, so we can look at software processes critically, see the value chain, and try to reduce waste.

    Lean manufacturing and lean software development caused people to talk about and examine waste and value, even in fields where we didn't really think about waste that much to begin with.

    Software is just ones and zeros. Is there waste? 
     When I delete a file, nothing goes into the landfill.

    The mistake I'm making here is confusing the common English definition of waste when what we're talking about is the Lean definition of waste.

    This episode tries to clear up the confusion.


    Links:




    ]]>
    Tue, 20 Jul 2021 08:15:00 -0700 Brian Okken Brian Okken 1081 Software development processes create value, and have waste, in the Lean sense of the word waste.
     Lean manufacturing and lean software development changed the way we look at value and waste.
     This episode looks at lean definitions of waste, so we can see it clearly when we encounter it.

    I'm going to use the term waste and value in future episodes. I'm using waste in a Lean sense, so we can look at software processes critically, see the value chain, and try to reduce waste.

    Lean manufacturing and lean software development caused people to talk about and examine waste and value, even in fields where we didn't really think about waste that much to begin with.

    Software is just ones and zeros. Is there waste? 
     When I delete a file, nothing goes into the landfill.

    The mistake I'm making here is confusing the common English definition of waste when what we're talking about is the Lean definition of waste.

    This episode tries to clear up the confusion.


    Links:




    ]]>
    agile, lean, waste, value No Brian Okken
    160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code 160 160 160: DRY, WET, DAMP, AHA, and removing duplication from production code and test code full d6891f15-7360-438f-b719-ae5861135e59 https://pythontest.com/testandcode/episodes/160-dry-wet-damp-aha-and-removing-duplication-from-production-code-and-test-code Should your code be DRY or DAMP or something completely different?
     How about your test code? Do different rules apply?
     Wait, what do all of these acronyms mean?

    We'll get to all of these definitions, and then talk about how it applies to both production code and test code in this episode. 


    Links:




    ]]>
    Should your code be DRY or DAMP or something completely different?
     How about your test code? Do different rules apply?
     Wait, what do all of these acronyms mean?

    We'll get to all of these definitions, and then talk about how it applies to both production code and test code in this episode. 


    Links:




    ]]>
    Thu, 08 Jul 2021 13:00:00 -0700 Brian Okken Brian Okken 845 Should your code be DRY or DAMP or something completely different?
     How about your test code? Do different rules apply?
     Wait, what do all of these acronyms mean?

    We'll get to all of these definitions, and then talk about how it applies to both production code and test code in this episode. 


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    159: Python, pandas, and Twitter Analytics - Matt Harrison 159 159 159: Python, pandas, and Twitter Analytics - Matt Harrison full f01eaaaf-deee-437d-a3b4-e74efb17b7de https://pythontest.com/testandcode/episodes/159-python-pandas-and-twitter-analytics-matt-harrison When learning data science and machine learning techniques, you need to work on a data set.
     Matt Harrison had a great idea: Why not use your own Twitter analytics data?
     So, he did that with his own data, and shares what he learned in this episode, including some of his secrets to gaining followers.

    In this episode we talk about:

    • Looking at your own Twitter analytics data.
    • Using Python, pandas, Jupyter for data cleaning and exploratory analysis
    • Data visualization
    • Machine learning, principal component analysis, clustering
    • Model drift and re-running analysis
    • What kind of tweets perform well
    • And much more

    Links:





    ]]>
    When learning data science and machine learning techniques, you need to work on a data set.
     Matt Harrison had a great idea: Why not use your own Twitter analytics data?
     So, he did that with his own data, and shares what he learned in this episode, including some of his secrets to gaining followers.

    In this episode we talk about:

    • Looking at your own Twitter analytics data.
    • Using Python, pandas, Jupyter for data cleaning and exploratory analysis
    • Data visualization
    • Machine learning, principal component analysis, clustering
    • Model drift and re-running analysis
    • What kind of tweets perform well
    • And much more

    Links:





    ]]>
    Fri, 02 Jul 2021 06:00:00 -0700 Brian Okken Brian Okken 2818 When learning data science and machine learning techniques, you need to work on a data set.
     Matt Harrison had a great idea: Why not use your own Twitter analytics data?
     So, he did that with his own data, and shares what he learned in this episode, including some of his secrets to gaining followers.

    In this episode we talk about:

    • Looking at your own Twitter analytics data.
    • Using Python, pandas, Jupyter for data cleaning and exploratory analysis
    • Data visualization
    • Machine learning, principal component analysis, clustering
    • Model drift and re-running analysis
    • What kind of tweets perform well
    • And much more

    Links:





    ]]>
    Twitter analytics, Python, pandas, Jupyter, data analytics No Brian Okken
    158: TDD in Swift - Gio Lodi 158 158 158: TDD in Swift - Gio Lodi full 2e32bc16-8193-4fb0-9208-51627d52b53a https://pythontest.com/testandcode/episodes/158-tdd-in-swift-gio Iterative processes that include writing test code and production code together, such as TDD, help make coding fun. 

    All of us that care about developing quality code with the help of testing can learn from each other, regardless of programming language.

    Today we step outside our normal Python comfort zone and talk with Gio about TDD in Swift.

    Gio Lodi, author of TDD in Swift, joins the show to discuss Test Driven Development, software workflows, bottom up vs top down, rapid feedback, developer vs customer facing tests, and more.


    Links:




    ]]>
    Iterative processes that include writing test code and production code together, such as TDD, help make coding fun. 

    All of us that care about developing quality code with the help of testing can learn from each other, regardless of programming language.

    Today we step outside our normal Python comfort zone and talk with Gio about TDD in Swift.

    Gio Lodi, author of TDD in Swift, joins the show to discuss Test Driven Development, software workflows, bottom up vs top down, rapid feedback, developer vs customer facing tests, and more.


    Links:




    ]]>
    Fri, 18 Jun 2021 15:00:00 -0700 Brian Okken Brian Okken 2568 Iterative processes that include writing test code and production code together, such as TDD, help make coding fun. 

    All of us that care about developing quality code with the help of testing can learn from each other, regardless of programming language.

    Today we step outside our normal Python comfort zone and talk with Gio about TDD in Swift.

    Gio Lodi, author of TDD in Swift, joins the show to discuss Test Driven Development, software workflows, bottom up vs top down, rapid feedback, developer vs customer facing tests, and more.


    Links:




    ]]>
    TDD, Swift, Software Testing No Brian Okken Gio Lodi
    157: pre-commit - Anthony Sottile 157 157 157: pre-commit - Anthony Sottile full 33396303-ce6a-4565-840e-a0ee41fed06f https://pythontest.com/testandcode/episodes/157-pre-commit-anthony-sottile pre-commit started as a framework for running linters and code formatters during git actions via git hooks. It's grown and expanded and now supports an extensive list of languages and actions and manual running of actions. But even at it's core, it's great for letting computers nitpick about whitespace and formatting, so that code reviews can focus on architecture and design.

    Anthony Sottile discusses pre-commit, for using locally by developers, and pre-commit.ci, which can run actions during merge requests.

    "Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks." - pre-commit.com

    "Developers spend a fair chunk of time during their development flow fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered, which is opt in for each developer workflow via pre-commit, but also fixes the issues automatically, letting developers focus their time on more valuable problems." - A user of pre-commit.ci


    Links:




    ]]>
    pre-commit started as a framework for running linters and code formatters during git actions via git hooks. It's grown and expanded and now supports an extensive list of languages and actions and manual running of actions. But even at it's core, it's great for letting computers nitpick about whitespace and formatting, so that code reviews can focus on architecture and design.

    Anthony Sottile discusses pre-commit, for using locally by developers, and pre-commit.ci, which can run actions during merge requests.

    "Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks." - pre-commit.com

    "Developers spend a fair chunk of time during their development flow fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered, which is opt in for each developer workflow via pre-commit, but also fixes the issues automatically, letting developers focus their time on more valuable problems." - A user of pre-commit.ci


    Links:




    ]]>
    Fri, 11 Jun 2021 00:00:00 -0700 Brian Okken Brian Okken 2413 pre-commit started as a framework for running linters and code formatters during git actions via git hooks. It's grown and expanded and now supports an extensive list of languages and actions and manual running of actions. But even at it's core, it's great for letting computers nitpick about whitespace and formatting, so that code reviews can focus on architecture and design.

    Anthony Sottile discusses pre-commit, for using locally by developers, and pre-commit.ci, which can run actions during merge requests.

    "Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks." - pre-commit.com

    "Developers spend a fair chunk of time during their development flow fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered, which is opt in for each developer workflow via pre-commit, but also fixes the issues automatically, letting developers focus their time on more valuable problems." - A user of pre-commit.ci


    Links:




    ]]>
    linters, code formatters, CI No Brian Okken Anthony Sottile
    156: Flake8: Python linting framework with Pyflakes, pycodestyle, McCabe, and more - Anthony Sottile 156 156 156: Flake8: Python linting framework with Pyflakes, pycodestyle, McCabe, and more - Anthony Sottile full 2ed409d6-c5c4-40cd-91fe-6e231202b12d https://pythontest.com/testandcode/episodes/156-flake8-python-linting-framework-with-pyflakes-pycodestyle-mccabe-and-more-anthony-sottile Flake8 is a command-line tool for linting Python projects. 
     By default, it includes lint checks provided Pyflakes, pycodestyle, and McCabe
     It's also a platform, and allows plugins to extend the checks.
     Flake8 will run third-party extensions if they are found and installed.

    But what does all of that mean?

    Anthony Sottile is a maintainer of flake8 and has kindly offered to explain it to us.


    Links:




    ]]>
    Flake8 is a command-line tool for linting Python projects. 
     By default, it includes lint checks provided Pyflakes, pycodestyle, and McCabe
     It's also a platform, and allows plugins to extend the checks.
     Flake8 will run third-party extensions if they are found and installed.

    But what does all of that mean?

    Anthony Sottile is a maintainer of flake8 and has kindly offered to explain it to us.


    Links:




    ]]>
    Thu, 03 Jun 2021 15:45:00 -0700 Brian Okken Brian Okken 1276 Flake8 is a command-line tool for linting Python projects. 
     By default, it includes lint checks provided Pyflakes, pycodestyle, and McCabe
     It's also a platform, and allows plugins to extend the checks.
     Flake8 will run third-party extensions if they are found and installed.

    But what does all of that mean?

    Anthony Sottile is a maintainer of flake8 and has kindly offered to explain it to us.


    Links:




    ]]>
    Python, linting, flake8, pycodestyle, pyflakes, McCabe No Brian Okken Anthony Sottile
    155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger 155 155 155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger full 480cc1ed-a219-46d9-9a9f-82b27b638006 https://pythontest.com/testandcode/episodes/155-four-questions-to-ask-frequently-during-software-projects-tim-ottinger Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.

    They are actually awesome questions to ask during a software project.

    We discuss the questions, where they came from, and look at some uses in software.

    The questions:

    1. What is it that needs to be done?
    2. What do we need in order to do it?
    3. Where can we get what we need?
    4. How can we tell if we’re doing it right?

    Bonus question that can be swapped out for #1:

    1. What's the most important thing that it doesn't do yet?

    Links:




    ]]>
    Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.

    They are actually awesome questions to ask during a software project.

    We discuss the questions, where they came from, and look at some uses in software.

    The questions:

    1. What is it that needs to be done?
    2. What do we need in order to do it?
    3. Where can we get what we need?
    4. How can we tell if we’re doing it right?

    Bonus question that can be swapped out for #1:

    1. What's the most important thing that it doesn't do yet?

    Links:




    ]]>
    Fri, 28 May 2021 15:30:00 -0700 Brian Okken Brian Okken 1261 Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.

    They are actually awesome questions to ask during a software project.

    We discuss the questions, where they came from, and look at some uses in software.

    The questions:

    1. What is it that needs to be done?
    2. What do we need in order to do it?
    3. Where can we get what we need?
    4. How can we tell if we’re doing it right?

    Bonus question that can be swapped out for #1:

    1. What's the most important thing that it doesn't do yet?

    Links:




    ]]>
    software development, strategy, planning No Brian Okken
    154: Don't Mock your Database - Jeff Triplett 154 154 154: Don't Mock your Database - Jeff Triplett full 44a8bf63-4afd-4773-b871-7a0b95df0780 https://pythontest.com/testandcode/episodes/154-dont-mock-your-database-jeff-triplett You need tests for your web app. And it has a database. What do you do with the database during testing? Should you use the real thing? or mock it? Jeff Triplett says don't mock it.

    In this episode, we talk with Jeff about testing web applications, specifically Django apps, and of course talk about the downsides of database mocking.


    Links:




    ]]>
    You need tests for your web app. And it has a database. What do you do with the database during testing? Should you use the real thing? or mock it? Jeff Triplett says don't mock it.

    In this episode, we talk with Jeff about testing web applications, specifically Django apps, and of course talk about the downsides of database mocking.


    Links:




    ]]>
    Fri, 21 May 2021 13:15:00 -0700 Brian Okken Brian Okken 1794 You need tests for your web app. And it has a database. What do you do with the database during testing? Should you use the real thing? or mock it? Jeff Triplett says don't mock it.

    In this episode, we talk with Jeff about testing web applications, specifically Django apps, and of course talk about the downsides of database mocking.


    Links:




    ]]>
    Django, pytest, Python, software testing, mocking, databases No Brian Okken Jeff Triplett
    153: Playwright for Python: end to end testing of web apps - Ryan Howard 153 153 153: Playwright for Python: end to end testing of web apps - Ryan Howard full 6a2f6452-d5a8-4fbc-bb68-d3931736eb88 https://pythontest.com/testandcode/episodes/153-playwright-for-python-end-to-end-testing-of-web-apps-ryan-howard Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.


    Links:




    ]]>
    Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.


    Links:




    ]]>
    Thu, 13 May 2021 22:15:00 -0700 Brian Okken Brian Okken 1861 Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.


    Links:




    ]]>
    software testing, end to end, web app No Brian Okken
    152: Python Packaging - Brett Cannon 152 152 152: Python Packaging - Brett Cannon full 4ba20940-0792-47af-bb2b-f9c8a771e235 https://pythontest.com/testandcode/episodes/152-python-packaging-brett-cannon I always learn a lot when I talk to Brett, and this episode is no exception.
     We talk about the packaging workflow, tools, changes, pyproject.toml, flit, setuptools, and so much more.
     I hope you learn as much as I did in this great discussion.


    Links:




    ]]>
    I always learn a lot when I talk to Brett, and this episode is no exception.
     We talk about the packaging workflow, tools, changes, pyproject.toml, flit, setuptools, and so much more.
     I hope you learn as much as I did in this great discussion.


    Links:




    ]]>
    Thu, 06 May 2021 22:00:00 -0700 Brian Okken Brian Okken 2939 I always learn a lot when I talk to Brett, and this episode is no exception.
     We talk about the packaging workflow, tools, changes, pyproject.toml, flit, setuptools, and so much more.
     I hope you learn as much as I did in this great discussion.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken Brett Cannon (@brettcannon@fosstodon.org)
    151: Python Adventure - Brandon Rhodes 151 151 151: Python Adventure - Brandon Rhodes full 9aafaef7-e8ac-468b-a5b6-6e75f0cd367c https://pythontest.com/testandcode/episodes/151-python-adventure-brandon-rhodes Adventure, or Colossal Cave Adventure, was written between 1975 and 1977 in Fortran. Brandon Rhodes ported it to Python 3, initial release in 2011, and still maintains it. We talk to Brandon about this wonderful game.

    YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY. >>> east A bit later... IT IS NOW PITCH DARK. IF YOU PROCEED YOU WILL LIKELY FALL INTO A PIT. >>> light(lamp) YOUR LAMP IS NOW ON. YOU ARE IN A DEBRIS ROOM FILLED WITH STUFF WASHED IN FROM THE SURFACE. A LOW WIDE PASSAGE WITH COBBLES BECOMES PLUGGED WITH MUD AND DEBRIS HERE, BUT AN AWKWARD CANYON LEADS UPWARD AND WEST. A NOTE ON THE WALL SAYS ...

    What's happening is that I'm playing adventure, which you can pip install thanks to Brandon Rohdes. Adventure is a faithful port to Python 3 from the original 1977 FORTRAN code by Crowther and Woods that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, ...

    In this episode, we talk with Brandon Rhodes about this marvelous game.


    Links:




    ]]>
    Adventure, or Colossal Cave Adventure, was written between 1975 and 1977 in Fortran. Brandon Rhodes ported it to Python 3, initial release in 2011, and still maintains it. We talk to Brandon about this wonderful game.

    YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY. >>> east A bit later... IT IS NOW PITCH DARK. IF YOU PROCEED YOU WILL LIKELY FALL INTO A PIT. >>> light(lamp) YOUR LAMP IS NOW ON. YOU ARE IN A DEBRIS ROOM FILLED WITH STUFF WASHED IN FROM THE SURFACE. A LOW WIDE PASSAGE WITH COBBLES BECOMES PLUGGED WITH MUD AND DEBRIS HERE, BUT AN AWKWARD CANYON LEADS UPWARD AND WEST. A NOTE ON THE WALL SAYS ...

    What's happening is that I'm playing adventure, which you can pip install thanks to Brandon Rohdes. Adventure is a faithful port to Python 3 from the original 1977 FORTRAN code by Crowther and Woods that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, ...

    In this episode, we talk with Brandon Rhodes about this marvelous game.


    Links:




    ]]>
    Tue, 27 Apr 2021 19:15:00 -0700 Brian Okken Brian Okken 3343 Adventure, or Colossal Cave Adventure, was written between 1975 and 1977 in Fortran. Brandon Rhodes ported it to Python 3, initial release in 2011, and still maintains it. We talk to Brandon about this wonderful game.

    YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING. AROUND YOU IS A FOREST. A SMALL STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY. >>> east A bit later... IT IS NOW PITCH DARK. IF YOU PROCEED YOU WILL LIKELY FALL INTO A PIT. >>> light(lamp) YOUR LAMP IS NOW ON. YOU ARE IN A DEBRIS ROOM FILLED WITH STUFF WASHED IN FROM THE SURFACE. A LOW WIDE PASSAGE WITH COBBLES BECOMES PLUGGED WITH MUD AND DEBRIS HERE, BUT AN AWKWARD CANYON LEADS UPWARD AND WEST. A NOTE ON THE WALL SAYS ...

    What's happening is that I'm playing adventure, which you can pip install thanks to Brandon Rohdes. Adventure is a faithful port to Python 3 from the original 1977 FORTRAN code by Crowther and Woods that lets you explore Colossal Cave, where others have found fortunes in treasure and gold, ...

    In this episode, we talk with Brandon Rhodes about this marvelous game.


    Links:




    ]]>
    python, fortran, adventure, gaming No Brian Okken Brandon Rhodes
    150: A Practical Testing Strategy 150 150 150: A Practical Testing Strategy full d45dc60f-b77b-4b82-9ec2-80dbf2ec8cbd https://pythontest.com/testandcode/episodes/150-a-practical-testing-strategy Coming up with a testing strategy doesn't have to be stressful. Prioritizing features to test, and generating test cases for each feature can be fairly quick and painless. This episode covers a strategy for both that can be applied to many types of software.





    ]]>
    Coming up with a testing strategy doesn't have to be stressful. Prioritizing features to test, and generating test cases for each feature can be fairly quick and painless. This episode covers a strategy for both that can be applied to many types of software.





    ]]>
    Thu, 15 Apr 2021 00:15:00 -0700 Brian Okken Brian Okken 602 Coming up with a testing strategy doesn't have to be stressful. Prioritizing features to test, and generating test cases for each feature can be fairly quick and painless. This episode covers a strategy for both that can be applied to many types of software.





    ]]>
    software testing, testing strategy No Brian Okken
    149: I don't test my code, "crappy Python" is all I write - Corey Quinn 149 149 149: I don't test my code, "crappy Python" is all I write - Corey Quinn full 4d5ef520-02a8-485c-a46c-f9ee6375c2f7 https://pythontest.com/testandcode/episodes/149-i-dont-test-my-code-crappy-python-is-all-i-write-corey-quinn Corey Quinn is the Chief Cloud Economist at The Duckbill Group. He's also a podcaster and writes a newsletter. And he also automates things with Python. But he doesn't write tests. Let's find out why.

    Reason for the interview. Rough summary of a twitter conversation:

    • Corey: What podcasts should I try to get an invite onto?
    • ToonArmyCaptain: Python Bytes, Test & Code, Talk Python
    • Corey: But... I don't test my code, "crappy Python" is all I write, and I'd feel like a giant imposter. So yeah, I'd be game. link
    • So here we are. 

    This diagram is referenced in the show, the Last Week In AWS Newsletter Production Pipeline.


    Special Guest: Corey Quinn.


    Links:




    ]]>
    Corey Quinn is the Chief Cloud Economist at The Duckbill Group. He's also a podcaster and writes a newsletter. And he also automates things with Python. But he doesn't write tests. Let's find out why.

    Reason for the interview. Rough summary of a twitter conversation:

    • Corey: What podcasts should I try to get an invite onto?
    • ToonArmyCaptain: Python Bytes, Test & Code, Talk Python
    • Corey: But... I don't test my code, "crappy Python" is all I write, and I'd feel like a giant imposter. So yeah, I'd be game. link
    • So here we are. 

    This diagram is referenced in the show, the Last Week In AWS Newsletter Production Pipeline.


    Special Guest: Corey Quinn.


    Links:




    ]]>
    Tue, 30 Mar 2021 20:30:00 -0700 Brian Okken Brian Okken 2940 Corey Quinn is the Chief Cloud Economist at The Duckbill Group. He's also a podcaster and writes a newsletter. And he also automates things with Python. But he doesn't write tests. Let's find out why.

    Reason for the interview. Rough summary of a twitter conversation:

    • Corey: What podcasts should I try to get an invite onto?
    • ToonArmyCaptain: Python Bytes, Test & Code, Talk Python
    • Corey: But... I don't test my code, "crappy Python" is all I write, and I'd feel like a giant imposter. So yeah, I'd be game. link
    • So here we are. 

    This diagram is referenced in the show, the Last Week In AWS Newsletter Production Pipeline.


    Special Guest: Corey Quinn.


    Links:




    ]]>
    software testing No Brian Okken
    148: Coverage.py and testing packages 148 148 148: Coverage.py and testing packages full ed711105-4ae3-4a94-97b5-17ee39def2c3 https://pythontest.com/testandcode/episodes/148-coverage-py-and-testing-packages How do you test installed packages using coverage.py? 

    Also, a couple followups from last week's episode on using coverage for single file applications. 


    Links:




    ]]>
    How do you test installed packages using coverage.py? 

    Also, a couple followups from last week's episode on using coverage for single file applications. 


    Links:




    ]]>
    Fri, 12 Mar 2021 01:00:00 -0700 Brian Okken Brian Okken 796 How do you test installed packages using coverage.py? 

    Also, a couple followups from last week's episode on using coverage for single file applications. 


    Links:




    ]]>
    coverage, pytest No Brian Okken
    147: Testing Single File Python Applications/Scripts with pytest and coverage 147 147 147: Testing Single File Python Applications/Scripts with pytest and coverage full 361a353c-b43d-4cf6-a6b5-c2b3d746297b https://pythontest.com/testandcode/episodes/147-testing-single-file-python-applications-scripts-with-pytest-and-coverage Have you ever written a single file Python application or script?
     Have you written tests for it?
     Do you check code coverage?

    This is the topic of this weeks episode, spurred on by a listener question.

    The questions:

    • For single file scripts, I'd like to have the test code included right there in the file. Can I do that with pytest?
    • If I can, can I use code coverage on it?

    The example code discussed in the episode: script.py

    def foo(): return 5 def main(): x = foo() print(x) if __name__ == '__main__': # pragma: no cover main() ## test code # To test: # pip install pytest # pytest script.py # To test with coverage: # put this file (script.py) in a directory by itself, say foo # then from the parent directory of foo: # pip install pytest-cov # pytest --cov=foo foo/script.py # To show missing lines # pytest --cov=foo --cov-report=term-missing foo/script.py def test_foo(): assert foo() == 5 def test_main(capsys): main() captured = capsys.readouterr() assert captured.out == "5\n"

    Suggestion by @cfbolz if you need to import pytest:

    if __name__ == '__main__': # pragma: no cover main() else: import pytest





    ]]>
    Have you ever written a single file Python application or script?
     Have you written tests for it?
     Do you check code coverage?

    This is the topic of this weeks episode, spurred on by a listener question.

    The questions:

    • For single file scripts, I'd like to have the test code included right there in the file. Can I do that with pytest?
    • If I can, can I use code coverage on it?

    The example code discussed in the episode: script.py

    def foo(): return 5 def main(): x = foo() print(x) if __name__ == '__main__': # pragma: no cover main() ## test code # To test: # pip install pytest # pytest script.py # To test with coverage: # put this file (script.py) in a directory by itself, say foo # then from the parent directory of foo: # pip install pytest-cov # pytest --cov=foo foo/script.py # To show missing lines # pytest --cov=foo --cov-report=term-missing foo/script.py def test_foo(): assert foo() == 5 def test_main(capsys): main() captured = capsys.readouterr() assert captured.out == "5\n"

    Suggestion by @cfbolz if you need to import pytest:

    if __name__ == '__main__': # pragma: no cover main() else: import pytest





    ]]>
    Fri, 05 Mar 2021 19:00:00 -0700 Brian Okken Brian Okken 663 Have you ever written a single file Python application or script?
     Have you written tests for it?
     Do you check code coverage?

    This is the topic of this weeks episode, spurred on by a listener question.

    The questions:

    • For single file scripts, I'd like to have the test code included right there in the file. Can I do that with pytest?
    • If I can, can I use code coverage on it?

    The example code discussed in the episode: script.py

    def foo(): return 5 def main(): x = foo() print(x) if __name__ == '__main__': # pragma: no cover main() ## test code # To test: # pip install pytest # pytest script.py # To test with coverage: # put this file (script.py) in a directory by itself, say foo # then from the parent directory of foo: # pip install pytest-cov # pytest --cov=foo foo/script.py # To show missing lines # pytest --cov=foo --cov-report=term-missing foo/script.py def test_foo(): assert foo() == 5 def test_main(capsys): main() captured = capsys.readouterr() assert captured.out == "5\n"

    Suggestion by @cfbolz if you need to import pytest:

    if __name__ == '__main__': # pragma: no cover main() else: import pytest





    ]]>
    pytest, script, single file application No Brian Okken
    146: Automation Tools for Web App and API Development and Maintenance - Michael Kennedy 146 146 146: Automation Tools for Web App and API Development and Maintenance - Michael Kennedy full 6e32b93f-8a06-4c7d-9998-f573e5f59b74 https://pythontest.com/testandcode/episodes/146-automation-tools-for-web-app-and-api-development-and-maintenance-michael-kennedy Building any software, including web apps and APIs requires testing.
     There's automated testing, and there's manual testing.

     In between that is exploratory testing aided by automation tools. 

    Michael Kennedy joins the show this week to share some of the tools he uses during development and maintenance.

    We talk about tools used for semi-automated exploratory testing. 
     We also talk about some of the other tools and techniques he uses to keep Talk Python Training, Talk Python, and Python Bytes all up and running smoothly. 

    We talk about:

    • Postman
    • ngrok
    • sitemap link testing
    • scripts for manual processes
    • using failover servers during maintenance, redeployments, etc
    • gitHub webhooks and scripts to between fail over servers and production during deployments automatically
    • floating IP addresses 
    • services to monitor your site: StatusCake, BetterUptime
    • the affect of monitoring on analytics
    • crash reporting: Rollbar, Sentry
    • response times
    • load testing: Locus


    Links:




    ]]>
    Building any software, including web apps and APIs requires testing.
     There's automated testing, and there's manual testing.

     In between that is exploratory testing aided by automation tools. 

    Michael Kennedy joins the show this week to share some of the tools he uses during development and maintenance.

    We talk about tools used for semi-automated exploratory testing. 
     We also talk about some of the other tools and techniques he uses to keep Talk Python Training, Talk Python, and Python Bytes all up and running smoothly. 

    We talk about:

    • Postman
    • ngrok
    • sitemap link testing
    • scripts for manual processes
    • using failover servers during maintenance, redeployments, etc
    • gitHub webhooks and scripts to between fail over servers and production during deployments automatically
    • floating IP addresses 
    • services to monitor your site: StatusCake, BetterUptime
    • the affect of monitoring on analytics
    • crash reporting: Rollbar, Sentry
    • response times
    • load testing: Locus


    Links:




    ]]>
    Sun, 28 Feb 2021 16:00:00 -0700 Brian Okken Brian Okken 2864 Building any software, including web apps and APIs requires testing.
     There's automated testing, and there's manual testing.

     In between that is exploratory testing aided by automation tools. 

    Michael Kennedy joins the show this week to share some of the tools he uses during development and maintenance.

    We talk about tools used for semi-automated exploratory testing. 
     We also talk about some of the other tools and techniques he uses to keep Talk Python Training, Talk Python, and Python Bytes all up and running smoothly. 

    We talk about:

    • Postman
    • ngrok
    • sitemap link testing
    • scripts for manual processes
    • using failover servers during maintenance, redeployments, etc
    • gitHub webhooks and scripts to between fail over servers and production during deployments automatically
    • floating IP addresses 
    • services to monitor your site: StatusCake, BetterUptime
    • the affect of monitoring on analytics
    • crash reporting: Rollbar, Sentry
    • response times
    • load testing: Locus


    Links:




    ]]>
    web applications, web APIs, maintenance, automation No Brian Okken Michael Kennedy
    145: For Those About to Mock - Michael Foord 145 145 145: For Those About to Mock - Michael Foord full e35d00b3-4fa6-4506-a423-fbed7bb38856 https://pythontest.com/testandcode/episodes/145-for-those-about-to-mock-michael-foord A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.

    Of course we discuss mocking and unittest.mock. 

    We also discuss:

    • testing philosophy
    • unit testing and what a unit is
    • TDD
    • where Michael's towel is, and what color

    Micheal was instrumental in the building of testing tools for Python, and continues to be a pragmatic source of honest testing philosopy in a field that has a lot of contradictory information.


    Links:




    ]]>
    A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.

    Of course we discuss mocking and unittest.mock. 

    We also discuss:

    • testing philosophy
    • unit testing and what a unit is
    • TDD
    • where Michael's towel is, and what color

    Micheal was instrumental in the building of testing tools for Python, and continues to be a pragmatic source of honest testing philosopy in a field that has a lot of contradictory information.


    Links:




    ]]>
    Thu, 18 Feb 2021 01:15:00 -0700 Brian Okken Brian Okken 2881 A discussion about mocking in Python with the original contributor of unittest.mock, Michael Foord.

    Of course we discuss mocking and unittest.mock. 

    We also discuss:

    • testing philosophy
    • unit testing and what a unit is
    • TDD
    • where Michael's towel is, and what color

    Micheal was instrumental in the building of testing tools for Python, and continues to be a pragmatic source of honest testing philosopy in a field that has a lot of contradictory information.


    Links:




    ]]>
    unittest, Python, mock, mocking, TDD No Brian Okken Michael Foord
    144: TDD in Science - Martin Héroux 144 144 144: TDD in Science - Martin Héroux full 08e801c2-6a93-4813-a59f-2e340fdb2312 https://pythontest.com/testandcode/episodes/144-tdd-in-science-martin-heroux Test Driven Development, TDD, is not easy to incorporate in your daily development. 

    Martin and Brian discuss TDD and testing and Martin's experience with testing, TDD, and using it for code involved with scientific research. 

    We discuss lots of topics around this, including:

    • What is TDD?
    • Should research software be tested in order to be trusted?
    • Time pressure and the struggle to get code done quickly. How do you make time for tests also?
    • Is testing worth it for code that will not be reused?
    • Sometimes it's hard to know how to test something.
    • Maybe people should learn to test alongside learning how to code.
    • A desire for a resource of testing concepts for non-CS people.
    • Are the testing needs and testing information needs different in different disciplines? 
      • Biology, Physics, Astrophysics, etc. Do they have different testing needs?
      • Do we need a "how to test" resource for each?


    Special Guest: Martin Héroux.


    Links:




    ]]>
    Test Driven Development, TDD, is not easy to incorporate in your daily development. 

    Martin and Brian discuss TDD and testing and Martin's experience with testing, TDD, and using it for code involved with scientific research. 

    We discuss lots of topics around this, including:

    • What is TDD?
    • Should research software be tested in order to be trusted?
    • Time pressure and the struggle to get code done quickly. How do you make time for tests also?
    • Is testing worth it for code that will not be reused?
    • Sometimes it's hard to know how to test something.
    • Maybe people should learn to test alongside learning how to code.
    • A desire for a resource of testing concepts for non-CS people.
    • Are the testing needs and testing information needs different in different disciplines? 
      • Biology, Physics, Astrophysics, etc. Do they have different testing needs?
      • Do we need a "how to test" resource for each?


    Special Guest: Martin Héroux.


    Links:




    ]]>
    Fri, 12 Feb 2021 23:15:00 -0700 Brian Okken Brian Okken 3162 Test Driven Development, TDD, is not easy to incorporate in your daily development. 

    Martin and Brian discuss TDD and testing and Martin's experience with testing, TDD, and using it for code involved with scientific research. 

    We discuss lots of topics around this, including:

    • What is TDD?
    • Should research software be tested in order to be trusted?
    • Time pressure and the struggle to get code done quickly. How do you make time for tests also?
    • Is testing worth it for code that will not be reused?
    • Sometimes it's hard to know how to test something.
    • Maybe people should learn to test alongside learning how to code.
    • A desire for a resource of testing concepts for non-CS people.
    • Are the testing needs and testing information needs different in different disciplines? 
      • Biology, Physics, Astrophysics, etc. Do they have different testing needs?
      • Do we need a "how to test" resource for each?


    Special Guest: Martin Héroux.


    Links:




    ]]>
    TDD, Test Driven Development, Scientific Research No Brian Okken
    143: pytest markers - Anthony Sottile 143 143 143: pytest markers - Anthony Sottile full 7e7b49a3-0537-49ea-b051-3400b6d3db49 https://pythontest.com/testandcode/episodes/143-pytest-markers-anthony-sottile Completely nerding out about pytest markers with Anthony Sottile.

    Some of what we talk about:

    • Running a subset of tests with markers.
    • Using marker expressions with and, or, not, and parentheses.
    • Keyword expressions also can use and, or, not, and parentheses.
    • Markers and pytest functionality that use mark, such as parametrize, skipif, etc.
    • Accessing markers with itermarkers and get_closest_marker through item.
    • Passing values, metadata through markers to fixtures or hook functions.

    Links:




    ]]>
    Completely nerding out about pytest markers with Anthony Sottile.

    Some of what we talk about:

    • Running a subset of tests with markers.
    • Using marker expressions with and, or, not, and parentheses.
    • Keyword expressions also can use and, or, not, and parentheses.
    • Markers and pytest functionality that use mark, such as parametrize, skipif, etc.
    • Accessing markers with itermarkers and get_closest_marker through item.
    • Passing values, metadata through markers to fixtures or hook functions.

    Links:




    ]]>
    Sun, 07 Feb 2021 01:00:00 -0700 Brian Okken Brian Okken 2359 Completely nerding out about pytest markers with Anthony Sottile.

    Some of what we talk about:

    • Running a subset of tests with markers.
    • Using marker expressions with and, or, not, and parentheses.
    • Keyword expressions also can use and, or, not, and parentheses.
    • Markers and pytest functionality that use mark, such as parametrize, skipif, etc.
    • Accessing markers with itermarkers and get_closest_marker through item.
    • Passing values, metadata through markers to fixtures or hook functions.

    Links:




    ]]>
    Python, pytest, markers, testing No Brian Okken
    142: MongoDB - Mark Smith 142 142 142: MongoDB - Mark Smith full 5cd3dbba-c27d-421e-ae90-8fa52d547381 https://pythontest.com/testandcode/episodes/142-mongodb-mark-smith MongoDB is possibly the most recognizable NoSQL document database.
     Mark Smith, a developer advocate for MongoDB, answers my many questions about MongoDB.
     We cover some basics, but also discuss some advanced features that I never knew about before this conversation.


    Special Guest: Mark Smith.


    Links:




    ]]>
    MongoDB is possibly the most recognizable NoSQL document database.
     Mark Smith, a developer advocate for MongoDB, answers my many questions about MongoDB.
     We cover some basics, but also discuss some advanced features that I never knew about before this conversation.


    Special Guest: Mark Smith.


    Links:




    ]]>
    Mon, 25 Jan 2021 10:30:00 -0700 Brian Okken Brian Okken 2066 MongoDB is possibly the most recognizable NoSQL document database.
     Mark Smith, a developer advocate for MongoDB, answers my many questions about MongoDB.
     We cover some basics, but also discuss some advanced features that I never knew about before this conversation.


    Special Guest: Mark Smith.


    Links:




    ]]>
    MongoDB, document database No Brian Okken
    141: Visual Testing - Angie Jones 141 141 141: Visual Testing - Angie Jones full dbab7bb7-5b94-4e2d-acaf-16b259039b48 https://pythontest.com/testandcode/episodes/141-visual-testing-angie-jones Visual Testing has come a long way from the early days of x,y mouse clicks and pixel comparisons. Angie Jones joins the show to discuss how modern visual testing tools work and how to incorporate visual testing into a complete testing strategy. 

    Some of the discussion:

    • Classes of visual testing: 
      • problems with pixel to pixel testing
      • DOM comparisons, css, html, etc.
      • AI driven picture level testing, where failures look into the DOM to help describe the problem. 
    • Where visual testing fits into a test strategy.
    • Combining "does this look right" visual testing with other test workflows.
    • "A picture is worth a thousand assertions" - functional assertions built into visual testing.
    • Baselining pictures in the test workflow.

    Also discussed:

    • automation engineer
    • Test Automation University

    Links:




    ]]>
    Visual Testing has come a long way from the early days of x,y mouse clicks and pixel comparisons. Angie Jones joins the show to discuss how modern visual testing tools work and how to incorporate visual testing into a complete testing strategy. 

    Some of the discussion:

    • Classes of visual testing: 
      • problems with pixel to pixel testing
      • DOM comparisons, css, html, etc.
      • AI driven picture level testing, where failures look into the DOM to help describe the problem. 
    • Where visual testing fits into a test strategy.
    • Combining "does this look right" visual testing with other test workflows.
    • "A picture is worth a thousand assertions" - functional assertions built into visual testing.
    • Baselining pictures in the test workflow.

    Also discussed:

    • automation engineer
    • Test Automation University

    Links:




    ]]>
    Wed, 30 Dec 2020 12:45:00 -0700 Brian Okken Brian Okken 1816 Visual Testing has come a long way from the early days of x,y mouse clicks and pixel comparisons. Angie Jones joins the show to discuss how modern visual testing tools work and how to incorporate visual testing into a complete testing strategy. 

    Some of the discussion:

    • Classes of visual testing: 
      • problems with pixel to pixel testing
      • DOM comparisons, css, html, etc.
      • AI driven picture level testing, where failures look into the DOM to help describe the problem. 
    • Where visual testing fits into a test strategy.
    • Combining "does this look right" visual testing with other test workflows.
    • "A picture is worth a thousand assertions" - functional assertions built into visual testing.
    • Baselining pictures in the test workflow.

    Also discussed:

    • automation engineer
    • Test Automation University

    Links:




    ]]>
    visual testing, web testing, browser testing No Brian Okken Angie Jones @ #WeAreDevs
    140: Testing in Scientific Research and Academia - Martin Héroux 140 140 140: Testing in Scientific Research and Academia - Martin Héroux full fe3b9ebe-5615-40d8-b230-e1d73033b027 https://pythontest.com/testandcode/episodes/140-testing-in-scientific-research-and-academia-martin-heroux Scientists learn programming as they need it.
     Some of them learn it in college, but even if they do, that's not their focus.
     It's not surprising that sharing the software used for scientific research and papers is spotty, at best.
     And what about testing?
     We'd hope that the software behind scientific research is tested.
     But why would we expect that?
     We're lucky if CS students get a class or two that even mentions automated tests.
     Why would we expect other scientists to just know how to test their code?

    Martin works in research and this discussion is about software and testing in scientific research and academia.


    Special Guest: Martin Héroux.


    Links:




    ]]>
    Scientists learn programming as they need it.
     Some of them learn it in college, but even if they do, that's not their focus.
     It's not surprising that sharing the software used for scientific research and papers is spotty, at best.
     And what about testing?
     We'd hope that the software behind scientific research is tested.
     But why would we expect that?
     We're lucky if CS students get a class or two that even mentions automated tests.
     Why would we expect other scientists to just know how to test their code?

    Martin works in research and this discussion is about software and testing in scientific research and academia.


    Special Guest: Martin Héroux.


    Links:




    ]]>
    Fri, 18 Dec 2020 12:45:00 -0700 Brian Okken Brian Okken 2823 Scientists learn programming as they need it.
     Some of them learn it in college, but even if they do, that's not their focus.
     It's not surprising that sharing the software used for scientific research and papers is spotty, at best.
     And what about testing?
     We'd hope that the software behind scientific research is tested.
     But why would we expect that?
     We're lucky if CS students get a class or two that even mentions automated tests.
     Why would we expect other scientists to just know how to test their code?

    Martin works in research and this discussion is about software and testing in scientific research and academia.


    Special Guest: Martin Héroux.


    Links:




    ]]>
    software testing, open software, scientific research No Brian Okken
    139: Test Automation: Shifting Testing Throughout the Software Lifecycle - Nalin Parbhu 139 139 139: Test Automation: Shifting Testing Throughout the Software Lifecycle - Nalin Parbhu full 989aa051-e54d-4931-80c8-b6a09b40a2aa https://pythontest.com/testandcode/episodes/139-test-automation-shifting-testing-throughout-the-software-lifecycle-nalin-parbhu Talking with Nalin Parbhu about the software evolution towards more test automation and the creation of Infuse and useMango.

    We talk a software development and "shift left" where automated tests and quality checks have moved earlier into the software lifecycle.

    • Software approaches and where quality fits in
    • Shift left
    • Test automation
    • Roles of software developers, SDETs (software development engineer in test), testers, QA, etc.
    • Developers doing testing and devops
    • Automated testing vs manual testing
    • Regression testing, UI testing, black bock testing
    • Unit testing, white box, API, end to end testing
    • User acceptance testing (UAT)
    • Mullet Methodology (Agile at the front, Waterfall at the back)
    • Waterwheel Methodology (Requirements -> iterative development -> QA)
    • What's an agile team?
    • Developer resistance to testing
    • Manifesto for agile software development
    • Iterative development
    • Adapting to change
    • Agility: being able to change course quickly

    Special Guests: Nalin Parbhu and Ola Omiyale.





    ]]>
    Talking with Nalin Parbhu about the software evolution towards more test automation and the creation of Infuse and useMango.

    We talk a software development and "shift left" where automated tests and quality checks have moved earlier into the software lifecycle.

    • Software approaches and where quality fits in
    • Shift left
    • Test automation
    • Roles of software developers, SDETs (software development engineer in test), testers, QA, etc.
    • Developers doing testing and devops
    • Automated testing vs manual testing
    • Regression testing, UI testing, black bock testing
    • Unit testing, white box, API, end to end testing
    • User acceptance testing (UAT)
    • Mullet Methodology (Agile at the front, Waterfall at the back)
    • Waterwheel Methodology (Requirements -> iterative development -> QA)
    • What's an agile team?
    • Developer resistance to testing
    • Manifesto for agile software development
    • Iterative development
    • Adapting to change
    • Agility: being able to change course quickly

    Special Guests: Nalin Parbhu and Ola Omiyale.





    ]]>
    Fri, 04 Dec 2020 13:30:00 -0700 Brian Okken Brian Okken 2154 Talking with Nalin Parbhu about the software evolution towards more test automation and the creation of Infuse and useMango.

    We talk a software development and "shift left" where automated tests and quality checks have moved earlier into the software lifecycle.

    • Software approaches and where quality fits in
    • Shift left
    • Test automation
    • Roles of software developers, SDETs (software development engineer in test), testers, QA, etc.
    • Developers doing testing and devops
    • Automated testing vs manual testing
    • Regression testing, UI testing, black bock testing
    • Unit testing, white box, API, end to end testing
    • User acceptance testing (UAT)
    • Mullet Methodology (Agile at the front, Waterfall at the back)
    • Waterwheel Methodology (Requirements -> iterative development -> QA)
    • What's an agile team?
    • Developer resistance to testing
    • Manifesto for agile software development
    • Iterative development
    • Adapting to change
    • Agility: being able to change course quickly

    Special Guests: Nalin Parbhu and Ola Omiyale.





    ]]>
    test automation, agile software development No Brian Okken
    138: Mutation Testing in Python with mutmut - Anders Hovmöller 138 138 138: Mutation Testing in Python with mutmut - Anders Hovmöller full 4ec9ede1-378e-485b-a2a6-0e1901ad151a https://pythontest.com/testandcode/episodes/138-mutation-testing-in-python-with-mutmut-anders-hovmoller Your test suite tells you about the quality of your code under test.

     Mutation testing is a way to tell you about the quality of your test suite.

     Anders Hovmöller wrote mutmut for mutation testing in Python, and can be used with pytest, unittest, and others.

    In this episode, Anders explains mutation testing, how mutation testing with mutmut works, and good workflows.


    Special Guest: Anders Hovmöller.


    Links:




    ]]>
    Your test suite tells you about the quality of your code under test.

     Mutation testing is a way to tell you about the quality of your test suite.

     Anders Hovmöller wrote mutmut for mutation testing in Python, and can be used with pytest, unittest, and others.

    In this episode, Anders explains mutation testing, how mutation testing with mutmut works, and good workflows.


    Special Guest: Anders Hovmöller.


    Links:




    ]]>
    Thu, 19 Nov 2020 14:15:00 -0700 Brian Okken Brian Okken 1718 Your test suite tells you about the quality of your code under test.

     Mutation testing is a way to tell you about the quality of your test suite.

     Anders Hovmöller wrote mutmut for mutation testing in Python, and can be used with pytest, unittest, and others.

    In this episode, Anders explains mutation testing, how mutation testing with mutmut works, and good workflows.


    Special Guest: Anders Hovmöller.


    Links:




    ]]>
    software testing, mutation testing, mutmut No Brian Okken
    137: Become an Author - Matt Harrison interviews Brian Okken 137 137 137: Become an Author - Matt Harrison interviews Brian Okken full 87f6041a-43a4-4328-af8a-2346c498e1bd https://pythontest.com/testandcode/episodes/137-become-an-author-matt-harrison-interviews-brian-okken Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books.
     As part of this course, he's including interviews with people who have already written books, including me. This is that interview.

    We discuss:

    • Why I wrote "Python Testing with pytest"
    • Self publishing vs working with a publisher
    • The writing, editing, and publishing process
    • Writing format
    • Book promotion
    • Advice to other writers

    Special Guest: Matt Harrison.

    Links:




    ]]>
    Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books.
     As part of this course, he's including interviews with people who have already written books, including me. This is that interview.

    We discuss:

    • Why I wrote "Python Testing with pytest"
    • Self publishing vs working with a publisher
    • The writing, editing, and publishing process
    • Writing format
    • Book promotion
    • Advice to other writers

    Special Guest: Matt Harrison.

    Links:




    ]]>
    Thu, 05 Nov 2020 09:00:00 -0700 Brian Okken Brian Okken 2409 Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books.
     As part of this course, he's including interviews with people who have already written books, including me. This is that interview.

    We discuss:

    • Why I wrote "Python Testing with pytest"
    • Self publishing vs working with a publisher
    • The writing, editing, and publishing process
    • Writing format
    • Book promotion
    • Advice to other writers

    Special Guest: Matt Harrison.

    Links:




    ]]>
    writing, publishing, technical books No Brian Okken
    136: Wearable Technology - Sophy Wong 136 136 136: Wearable Technology - Sophy Wong full 1e335e2b-9e78-4177-a60f-1a4b94c1ca07 https://pythontest.com/testandcode/episodes/136-wearable-technology-sophy-wong Wearable technology is not just smart consumer devices like watches and activity trackers. 

    Wearable tech also includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. Wearable tech is also a great way to get both kids and adults excited about coding, electronics, and in general, engineering skills. 

    Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body. 

    Sophy joins the show to answer my many questions about getting started safely with wearable tech.

    Some of the questions and topics:

    • Can I wash my clothing if I've added tech to it?
    • Is there any danger in wearing technology or building wearable tech?
    • Are there actual wires and cables conductive thread in the fabric and textiles of some wearable tech projects?
    • What's a good starter project? Especially if I want to do a wearable tech project with my kids?
    • Dealing with stretch with clothing and non-bendy electronics.
    • Some questions around the Sophy Wong and HackSpace "Wearable Tech Projects" book.
    • How did you get into wearable tech?
    • Do you have a favorite project?
    • Can I get into wearable tech if I don't know how to code or solder?
    • Are these projects accessible to people with limited budgets?
    • Making projects so you can reuse the expensive bits on multiple projects.

    Special Guest: Sophy Wong.


    Links:




    ]]>
    Wearable technology is not just smart consumer devices like watches and activity trackers. 

    Wearable tech also includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. Wearable tech is also a great way to get both kids and adults excited about coding, electronics, and in general, engineering skills. 

    Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body. 

    Sophy joins the show to answer my many questions about getting started safely with wearable tech.

    Some of the questions and topics:

    • Can I wash my clothing if I've added tech to it?
    • Is there any danger in wearing technology or building wearable tech?
    • Are there actual wires and cables conductive thread in the fabric and textiles of some wearable tech projects?
    • What's a good starter project? Especially if I want to do a wearable tech project with my kids?
    • Dealing with stretch with clothing and non-bendy electronics.
    • Some questions around the Sophy Wong and HackSpace "Wearable Tech Projects" book.
    • How did you get into wearable tech?
    • Do you have a favorite project?
    • Can I get into wearable tech if I don't know how to code or solder?
    • Are these projects accessible to people with limited budgets?
    • Making projects so you can reuse the expensive bits on multiple projects.

    Special Guest: Sophy Wong.


    Links:




    ]]>
    Mon, 26 Oct 2020 07:15:00 -0700 Brian Okken Brian Okken 1780 Wearable technology is not just smart consumer devices like watches and activity trackers. 

    Wearable tech also includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. Wearable tech is also a great way to get both kids and adults excited about coding, electronics, and in general, engineering skills. 

    Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body. 

    Sophy joins the show to answer my many questions about getting started safely with wearable tech.

    Some of the questions and topics:

    • Can I wash my clothing if I've added tech to it?
    • Is there any danger in wearing technology or building wearable tech?
    • Are there actual wires and cables conductive thread in the fabric and textiles of some wearable tech projects?
    • What's a good starter project? Especially if I want to do a wearable tech project with my kids?
    • Dealing with stretch with clothing and non-bendy electronics.
    • Some questions around the Sophy Wong and HackSpace "Wearable Tech Projects" book.
    • How did you get into wearable tech?
    • Do you have a favorite project?
    • Can I get into wearable tech if I don't know how to code or solder?
    • Are these projects accessible to people with limited budgets?
    • Making projects so you can reuse the expensive bits on multiple projects.

    Special Guest: Sophy Wong.


    Links:




    ]]>
    wearable tech No Brian Okken
    135: Speeding up Django Test Suites - Adam Johnson 135 135 135: Speeding up Django Test Suites - Adam Johnson full 98b4eae8-b9af-44c1-a9f4-a654e7c6f1bc https://pythontest.com/testandcode/episodes/135-speeding-up-django-test-suites-adam-johnson All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite. 
     What can you do about it to keep test suites fast? 
     Some things, like parallelization, are applicable to many domains. 
     What about, for instance, Django applications?
     Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites. 

    Topics include:

    • parallelizing tests
    • moving from disk to memory
    • using fake data and factory functions
    • targeted mocking

    Special Guest: Adam Johnson.


    Links:




    ]]>
    All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite. 
     What can you do about it to keep test suites fast? 
     Some things, like parallelization, are applicable to many domains. 
     What about, for instance, Django applications?
     Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites. 

    Topics include:

    • parallelizing tests
    • moving from disk to memory
    • using fake data and factory functions
    • targeted mocking

    Special Guest: Adam Johnson.


    Links:




    ]]>
    Tue, 20 Oct 2020 08:15:00 -0700 Brian Okken Brian Okken 1302 All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite. 
     What can you do about it to keep test suites fast? 
     Some things, like parallelization, are applicable to many domains. 
     What about, for instance, Django applications?
     Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites. 

    Topics include:

    • parallelizing tests
    • moving from disk to memory
    • using fake data and factory functions
    • targeted mocking

    Special Guest: Adam Johnson.


    Links:




    ]]>
    Django, software testing No Brian Okken
    134: Business Outcomes and Software Development - Benjamin Harding 134 134 134: Business Outcomes and Software Development - Benjamin Harding full ab6cdd4f-f27d-4d8d-898a-14e8cb8f77e1 https://pythontest.com/testandcode/episodes/134-business-outcomes-and-software-development-benjamin-harding Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making. 

    We talk about:

    • Business outcomes vs vanity metrics
    • As a developer, how do you keep business outcomes in mind
    • Thinking about customer value all the time
    • Communicating decisions and options in terms of costs and impact on business outcomes
    • Company culture and it's role in reinforcing a business outcome mindset
    • And even the role of team lead as impact multiplier 

    I really enjoyed this conversation. But I admit that at first, I didn't realize how important this is on all software development. Metrics are front and center in a web app. But what about a service, or an embedded system with no telemetry. It still matters, maybe even more so. Little and big decisions developers face every day that have impact on costs and benefits with respect to customer value and business outcome, even if it's difficult to measure.

    Special Guest: Benjamin Harding.





    ]]>
    Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making. 

    We talk about:

    • Business outcomes vs vanity metrics
    • As a developer, how do you keep business outcomes in mind
    • Thinking about customer value all the time
    • Communicating decisions and options in terms of costs and impact on business outcomes
    • Company culture and it's role in reinforcing a business outcome mindset
    • And even the role of team lead as impact multiplier 

    I really enjoyed this conversation. But I admit that at first, I didn't realize how important this is on all software development. Metrics are front and center in a web app. But what about a service, or an embedded system with no telemetry. It still matters, maybe even more so. Little and big decisions developers face every day that have impact on costs and benefits with respect to customer value and business outcome, even if it's difficult to measure.

    Special Guest: Benjamin Harding.





    ]]>
    Mon, 12 Oct 2020 09:15:00 -0700 Brian Okken Brian Okken 1794 Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making. 

    We talk about:

    • Business outcomes vs vanity metrics
    • As a developer, how do you keep business outcomes in mind
    • Thinking about customer value all the time
    • Communicating decisions and options in terms of costs and impact on business outcomes
    • Company culture and it's role in reinforcing a business outcome mindset
    • And even the role of team lead as impact multiplier 

    I really enjoyed this conversation. But I admit that at first, I didn't realize how important this is on all software development. Metrics are front and center in a web app. But what about a service, or an embedded system with no telemetry. It still matters, maybe even more so. Little and big decisions developers face every day that have impact on costs and benefits with respect to customer value and business outcome, even if it's difficult to measure.

    Special Guest: Benjamin Harding.





    ]]>
    software development, metrics, customer value No Brian Okken
    133: Major League Hacking - Jon Gottfried 133 133 133: Major League Hacking - Jon Gottfried full 71c7e7f6-6863-4164-a1de-35375e9e1f1e https://pythontest.com/testandcode/episodes/133-major-league-hacking-jon-gottfried Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.

    Hacking can be thought of as tinkering. Taking things apart and putting them back together as an interesting experience. There's always been some of this as part of software culture.

    The people at Major League Hacking have taken this to a whole new level, bringing together Tech creators who enjoy playing around with and crating new technology, on campuses, and now in virtual spaces, all over the world.

    Jonathon Gottfried, one of the cofounders of Major League Hacking, joins the show to talk about:

    • hacker meetups and events
    • hackathons
    • what it's like to go to a hackathon
    • how to help out with hackathons as an experienced engineer, even virtually as a mentor
    • hackathons continuing virtually during the pandemic
    • internships and fellowships on open source projects to help students gain experience, even during the pandemic
    • MLH approach to internships, giving interns a support group, including peers, mentors, and project maintainers
    • and MLH itself

    Special Guest: Jon Gottfried.


    Links:




    ]]>
    Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.

    Hacking can be thought of as tinkering. Taking things apart and putting them back together as an interesting experience. There's always been some of this as part of software culture.

    The people at Major League Hacking have taken this to a whole new level, bringing together Tech creators who enjoy playing around with and crating new technology, on campuses, and now in virtual spaces, all over the world.

    Jonathon Gottfried, one of the cofounders of Major League Hacking, joins the show to talk about:

    • hacker meetups and events
    • hackathons
    • what it's like to go to a hackathon
    • how to help out with hackathons as an experienced engineer, even virtually as a mentor
    • hackathons continuing virtually during the pandemic
    • internships and fellowships on open source projects to help students gain experience, even during the pandemic
    • MLH approach to internships, giving interns a support group, including peers, mentors, and project maintainers
    • and MLH itself

    Special Guest: Jon Gottfried.


    Links:




    ]]>
    Mon, 05 Oct 2020 10:00:00 -0700 Brian Okken Brian Okken 1618 Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.

    Hacking can be thought of as tinkering. Taking things apart and putting them back together as an interesting experience. There's always been some of this as part of software culture.

    The people at Major League Hacking have taken this to a whole new level, bringing together Tech creators who enjoy playing around with and crating new technology, on campuses, and now in virtual spaces, all over the world.

    Jonathon Gottfried, one of the cofounders of Major League Hacking, joins the show to talk about:

    • hacker meetups and events
    • hackathons
    • what it's like to go to a hackathon
    • how to help out with hackathons as an experienced engineer, even virtually as a mentor
    • hackathons continuing virtually during the pandemic
    • internships and fellowships on open source projects to help students gain experience, even during the pandemic
    • MLH approach to internships, giving interns a support group, including peers, mentors, and project maintainers
    • and MLH itself

    Special Guest: Jon Gottfried.


    Links:




    ]]>
    hacking, hackathon No Brian Okken
    132: mocking in Python - Anna-Lena Popkes 132 132 132: mocking in Python - Anna-Lena Popkes full 07126b2d-6146-4912-a3cb-091d6cc757cc https://pythontest.com/testandcode/episodes/132-mocking-in-python-anna-lena-popkes Using mock objects during testing in Python.

    Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing. 

    We discuss:

    • the different styles of using mocks
    • pros and cons of mocks
    • dependency injection
    • adapter pattern
    • mock hell
    • magical universe
    • and much more

    Special Guest: Anna-Lena Popkes.


    Links:




    ]]>
    Using mock objects during testing in Python.

    Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing. 

    We discuss:

    • the different styles of using mocks
    • pros and cons of mocks
    • dependency injection
    • adapter pattern
    • mock hell
    • magical universe
    • and much more

    Special Guest: Anna-Lena Popkes.


    Links:




    ]]>
    Mon, 28 Sep 2020 07:00:00 -0700 Brian Okken Brian Okken 2289 Using mock objects during testing in Python.

    Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing. 

    We discuss:

    • the different styles of using mocks
    • pros and cons of mocks
    • dependency injection
    • adapter pattern
    • mock hell
    • magical universe
    • and much more

    Special Guest: Anna-Lena Popkes.


    Links:




    ]]>
    software testing, mock No Brian Okken
    131: Test Smarter, Not Harder 131 131 131: Test Smarter, Not Harder full ed88dd00-d46f-40e1-8c4c-2b673ebd811d https://pythontest.com/testandcode/episodes/131-test-smarter-not-harder 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".


    Links:




    ]]>
    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".


    Links:




    ]]>
    Mon, 21 Sep 2020 05:45:00 -0700 Brian Okken Brian Okken 450 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".


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn 130 130 130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn full 5e440586-2878-4066-bcc4-d2a1cace2184 https://pythontest.com/testandcode/episodes/130-virtualenv-activation-prompt-consistency-across-shells-an-open-source-dev-and-test-adventure-brian-skinn 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. 

    Brian Skinn initially noticed that on Windows cmd, a space was added between a prefix defined by --prompt and the rest of the prompt, whereas on bash no space was added.

    For reference, there were/are three nominal virtualenv prompt modification behaviors, all of which apply to the prompt changes that are made at the time of virtualenv activation:

    1. If the environment variable VIRTUAL_ENV_DISABLE_PROMPT is defined and non-empty at activation time, do not modify the prompt at all. Otherwise:
    2.  If the --prompt argument was supplied at creation time, use that argument as the prefix to apply to the prompt; or,
    3. If the --prompt argument was not supplied at creation time, use the default prefix of "() " as the prefix (the environment folder name surrounded by parentheses, and with a trailing space after the last paren.

    Special Guest: Brian Skinn.


    Links:




    ]]>
    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. 

    Brian Skinn initially noticed that on Windows cmd, a space was added between a prefix defined by --prompt and the rest of the prompt, whereas on bash no space was added.

    For reference, there were/are three nominal virtualenv prompt modification behaviors, all of which apply to the prompt changes that are made at the time of virtualenv activation:

    1. If the environment variable VIRTUAL_ENV_DISABLE_PROMPT is defined and non-empty at activation time, do not modify the prompt at all. Otherwise:
    2.  If the --prompt argument was supplied at creation time, use that argument as the prefix to apply to the prompt; or,
    3. If the --prompt argument was not supplied at creation time, use the default prefix of "() " as the prefix (the environment folder name surrounded by parentheses, and with a trailing space after the last paren.

    Special Guest: Brian Skinn.


    Links:




    ]]>
    Sun, 13 Sep 2020 09:30:00 -0700 Brian Okken Brian Okken 2013 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. 

    Brian Skinn initially noticed that on Windows cmd, a space was added between a prefix defined by --prompt and the rest of the prompt, whereas on bash no space was added.

    For reference, there were/are three nominal virtualenv prompt modification behaviors, all of which apply to the prompt changes that are made at the time of virtualenv activation:

    1. If the environment variable VIRTUAL_ENV_DISABLE_PROMPT is defined and non-empty at activation time, do not modify the prompt at all. Otherwise:
    2.  If the --prompt argument was supplied at creation time, use that argument as the prefix to apply to the prompt; or,
    3. If the --prompt argument was not supplied at creation time, use the default prefix of "() " as the prefix (the environment folder name surrounded by parentheses, and with a trailing space after the last paren.

    Special Guest: Brian Skinn.


    Links:




    ]]>
    virtualenv, pytest, software testing, Python, continuous integration, open source No Brian Okken
    129: How to Test Anything - David Lord 129 129 129: How to Test Anything - David Lord full 23da8ab1-8636-48b6-8dde-30fee07ee8a1 https://pythontest.com/testandcode/episodes/129-how-to-test-anything-david-lord 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.

    Specific Questions people asked:

    • What makes a good test?
    • How do you test web app performance?
    • How do you test cookie cutter templates?
    • How do I test my test framework? 
    • How do I test permission management?
    • How do I test SQLAlchemy models and pydantic schemas in a FastAPI app?
    • How do I test warehouse ETL code?
    • How do I test and mock GPIO pins on hardware for code running MicroPython on a device?
    • How do I test PyQt apps?
    • How do I test web scrapers?
    • Is it the best practice to put static html in your test directory or just snippets stored in string variables?
    • What's the best way to to test server client API contracts?
    • How do I test a monitoring tool?

    We also talk about:

    • What is the Flask testing philosophy?
    • What do Flask tests look like?
    • Flask and Pallets using pytest
    • Code coverage 

    Some of the resulting testing strategies:

    • Set up some preconditions. Run the function. Get the result.
    • Don't test external services.
    • Do test external service failures.
    • Don't test the frameworks you are using.
    • Do test your use of a framework.
    • Use open source projects to learn how something similar to your project tests things.
    • Focus on your code.
    • Focus on testing your new code. 
    • Try to architect your application such that actual GUI testing is minimal.
    • Split up a large problem into smaller parts that are easier to test.
    • Nail down as many parts as you can.

    Special Guest: David Lord.





    ]]>
    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.

    Specific Questions people asked:

    • What makes a good test?
    • How do you test web app performance?
    • How do you test cookie cutter templates?
    • How do I test my test framework? 
    • How do I test permission management?
    • How do I test SQLAlchemy models and pydantic schemas in a FastAPI app?
    • How do I test warehouse ETL code?
    • How do I test and mock GPIO pins on hardware for code running MicroPython on a device?
    • How do I test PyQt apps?
    • How do I test web scrapers?
    • Is it the best practice to put static html in your test directory or just snippets stored in string variables?
    • What's the best way to to test server client API contracts?
    • How do I test a monitoring tool?

    We also talk about:

    • What is the Flask testing philosophy?
    • What do Flask tests look like?
    • Flask and Pallets using pytest
    • Code coverage 

    Some of the resulting testing strategies:

    • Set up some preconditions. Run the function. Get the result.
    • Don't test external services.
    • Do test external service failures.
    • Don't test the frameworks you are using.
    • Do test your use of a framework.
    • Use open source projects to learn how something similar to your project tests things.
    • Focus on your code.
    • Focus on testing your new code. 
    • Try to architect your application such that actual GUI testing is minimal.
    • Split up a large problem into smaller parts that are easier to test.
    • Nail down as many parts as you can.

    Special Guest: David Lord.





    ]]>
    Mon, 07 Sep 2020 11:00:00 -0700 Brian Okken Brian Okken 2456 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.

    Specific Questions people asked:

    • What makes a good test?
    • How do you test web app performance?
    • How do you test cookie cutter templates?
    • How do I test my test framework? 
    • How do I test permission management?
    • How do I test SQLAlchemy models and pydantic schemas in a FastAPI app?
    • How do I test warehouse ETL code?
    • How do I test and mock GPIO pins on hardware for code running MicroPython on a device?
    • How do I test PyQt apps?
    • How do I test web scrapers?
    • Is it the best practice to put static html in your test directory or just snippets stored in string variables?
    • What's the best way to to test server client API contracts?
    • How do I test a monitoring tool?

    We also talk about:

    • What is the Flask testing philosophy?
    • What do Flask tests look like?
    • Flask and Pallets using pytest
    • Code coverage 

    Some of the resulting testing strategies:

    • Set up some preconditions. Run the function. Get the result.
    • Don't test external services.
    • Do test external service failures.
    • Don't test the frameworks you are using.
    • Do test your use of a framework.
    • Use open source projects to learn how something similar to your project tests things.
    • Focus on your code.
    • Focus on testing your new code. 
    • Try to architect your application such that actual GUI testing is minimal.
    • Split up a large problem into smaller parts that are easier to test.
    • Nail down as many parts as you can.

    Special Guest: David Lord.





    ]]>
    python, programming, software, testing, No Brian Okken
    128: pytest-randomly - Adam Johnson 128 128 128: pytest-randomly - Adam Johnson full 90ce0ac9-d5be-4d47-8942-0ac272d2f00b https://pythontest.com/testandcode/episodes/128-pytest-randomly-adam-johnson 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.

    However, system state often gets in the way and order dependence can creep into a test suite.
     One way to fight against order dependence is to randomize test order, and with pytest, we recommend the plugin pytest-randomly to do that for you.

    The developer that started pytest-randomly and continues to support it is Adam Johnson, who joins us today to discuss pytest-randomly and another plugin he also wrote, called pytest-reverse.

    Special Guest: Adam Johnson.


    Links:




    ]]>
    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.

    However, system state often gets in the way and order dependence can creep into a test suite.
     One way to fight against order dependence is to randomize test order, and with pytest, we recommend the plugin pytest-randomly to do that for you.

    The developer that started pytest-randomly and continues to support it is Adam Johnson, who joins us today to discuss pytest-randomly and another plugin he also wrote, called pytest-reverse.

    Special Guest: Adam Johnson.


    Links:




    ]]>
    Fri, 28 Aug 2020 10:15:00 -0700 Brian Okken Brian Okken 916 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.

    However, system state often gets in the way and order dependence can creep into a test suite.
     One way to fight against order dependence is to randomize test order, and with pytest, we recommend the plugin pytest-randomly to do that for you.

    The developer that started pytest-randomly and continues to support it is Adam Johnson, who joins us today to discuss pytest-randomly and another plugin he also wrote, called pytest-reverse.

    Special Guest: Adam Johnson.


    Links:




    ]]>
    pytest, Python, pytest-randomly, pytest plugins No Brian Okken
    127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira 127 127 127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira full 60591fb2-1f53-4cf9-bb8e-471917ba9358 https://pythontest.com/testandcode/episodes/127-wfh-wtf-tips-and-tricks-for-working-from-home-reuven-lerner-julian-sequeira Many people have been working from home now that are not used to working from home.
     Or at least are working from home more than they ever did before. That's definitely true for me.
     Even though I've been working from home since March, I wanted some tips from people who have been doing it longer.

    Julian Sequeira, of PyBites fame, has been working from home for about a year.
     Reuven Lerner, an amazing Python trainer, has been working from home for much longer.

    We originally had a big list of WFH topics. But we had so much fun with the tips and tricks part, that that's pretty much the whole episode.

    But there's lots of great tips and tricks, so I'm glad we focused on that.

    Special Guests: Julian Sequeira and Reuven Lerner.


    Links:




    ]]>
    Many people have been working from home now that are not used to working from home.
     Or at least are working from home more than they ever did before. That's definitely true for me.
     Even though I've been working from home since March, I wanted some tips from people who have been doing it longer.

    Julian Sequeira, of PyBites fame, has been working from home for about a year.
     Reuven Lerner, an amazing Python trainer, has been working from home for much longer.

    We originally had a big list of WFH topics. But we had so much fun with the tips and tricks part, that that's pretty much the whole episode.

    But there's lots of great tips and tricks, so I'm glad we focused on that.

    Special Guests: Julian Sequeira and Reuven Lerner.


    Links:




    ]]>
    Mon, 24 Aug 2020 00:45:00 -0700 Brian Okken Brian Okken 2414 Many people have been working from home now that are not used to working from home.
     Or at least are working from home more than they ever did before. That's definitely true for me.
     Even though I've been working from home since March, I wanted some tips from people who have been doing it longer.

    Julian Sequeira, of PyBites fame, has been working from home for about a year.
     Reuven Lerner, an amazing Python trainer, has been working from home for much longer.

    We originally had a big list of WFH topics. But we had so much fun with the tips and tricks part, that that's pretty much the whole episode.

    But there's lots of great tips and tricks, so I'm glad we focused on that.

    Special Guests: Julian Sequeira and Reuven Lerner.


    Links:




    ]]>
    WFH, working from home No Brian Okken
    126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus 126 126 126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus full 0e98ad32-c653-43cf-ac01-8fe916775515 https://pythontest.com/testandcode/episodes/126-data-science-and-software-engineering-practices-and-fizz-buzz-joel-grus 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.

    Topics include:

    • Software Engineering practices and data science
    • Difficulties with Jupyter notebooks
    • Code reviews on experiment code
    • Unit tests on experiment code
    • Finding bugs before doing experiments
    • Tests for data pipelines
    • Tests for deep learning models 
    • Showing researchers the value of tests by showing the bugs found that wouldn't have been found without them.
    • "Data Science from Scratch" book 
      • Showing testing during teaching Data Science
    • "Ten Essays on Fizz Buzz" book 
      • Meditations on Python, mathematics, science, engineerign and design
      • Testing Fizz Buzz
      • Different algorithms and solutions to an age old interview question.
    • If not Fizz Buzz, what makes a decent coding interview question.
    • pytest
    • hypothesis
    • Math requirements for data science

    Special Guest: Joel Grus.


    Links:




    ]]>
    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.

    Topics include:

    • Software Engineering practices and data science
    • Difficulties with Jupyter notebooks
    • Code reviews on experiment code
    • Unit tests on experiment code
    • Finding bugs before doing experiments
    • Tests for data pipelines
    • Tests for deep learning models 
    • Showing researchers the value of tests by showing the bugs found that wouldn't have been found without them.
    • "Data Science from Scratch" book 
      • Showing testing during teaching Data Science
    • "Ten Essays on Fizz Buzz" book 
      • Meditations on Python, mathematics, science, engineerign and design
      • Testing Fizz Buzz
      • Different algorithms and solutions to an age old interview question.
    • If not Fizz Buzz, what makes a decent coding interview question.
    • pytest
    • hypothesis
    • Math requirements for data science

    Special Guest: Joel Grus.


    Links:




    ]]>
    Sun, 16 Aug 2020 17:15:00 -0700 Brian Okken Brian Okken 1890 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.

    Topics include:

    • Software Engineering practices and data science
    • Difficulties with Jupyter notebooks
    • Code reviews on experiment code
    • Unit tests on experiment code
    • Finding bugs before doing experiments
    • Tests for data pipelines
    • Tests for deep learning models 
    • Showing researchers the value of tests by showing the bugs found that wouldn't have been found without them.
    • "Data Science from Scratch" book 
      • Showing testing during teaching Data Science
    • "Ten Essays on Fizz Buzz" book 
      • Meditations on Python, mathematics, science, engineerign and design
      • Testing Fizz Buzz
      • Different algorithms and solutions to an age old interview question.
    • If not Fizz Buzz, what makes a decent coding interview question.
    • pytest
    • hypothesis
    • Math requirements for data science

    Special Guest: Joel Grus.


    Links:




    ]]>
    data science, fizz buzz, software engineering, Python, software testing, pytest, hypothesis No Brian Okken
    125: pytest 6 - Anthony Sottile 125 125 125: pytest 6 - Anthony Sottile full ee8479a8-0da9-4679-94c6-27674beeeb35 https://pythontest.com/testandcode/episodes/125-pytest-6-anthony-sottile pytest 6 is out. Specifically, 6.0.1, as of July 31.

     And there's lots to be excited about.
     Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.

    Full release notes / changelog

    Some of what we talk about:

    • How to update (at least, how I do it) 
      • Run your test suites with 5.4.3 or whatever the last version you were using
      • Update to 6
      • Run again. Same output? Probably good.
      • If there are any warnings, maybe fix those.
      • You can also run with pytest -W error to turn warnings into errors.
      • Then find out all the cool stuff you can do now
    • New Features 
      • pytest now supports pyproject.toml files for configuration. 
        • but remember, toml syntax is different than ini files. mostly quotes are needed 
      • pytest now includes inline type annotations and exposes them to user programs. 
        • Most of the user-facing API is covered, as well as internal code.
      • New command-line flags --no-header and --no-summary
      • A warning is now shown when an unknown key is read from a config INI file. 
        • The --strict-config flag has been added to treat these warnings as errors.
      • New required_plugins configuration option allows the user to specify a list of plugins, including version information, that are required for pytest to run. An error is raised if any required plugins are not found when running pytest.
    • Improvements 
      • You can now pass output to things like less and head that close the pipe passed to them. 
        • thank you!!!
      • Improved precision of test durations measurement. 
        • use --durations=10 -vv to capture and show durations
      • Rich comparison for dataclasses and attrs-classes is now recursive.
      • pytest --version now displays just the pytest version, 
        • while pytest --version --version displays more verbose information including plugins. 
      • --junitxml now includes the exception cause in the message XML attribute for failures during setup and teardown.
    • Improved Documentation 
      • Add a note about --strict and --strict-markers and the preference for the latter one.
      • Explain indirect parametrization and markers for fixtures.
    • Bug Fixes
    • Deprecations
    • Trivial/Internal Changes
    • Breaking Changes you might need to care about before upgrading 
      • PytestDeprecationWarning are now errors by default. 
      • -k and -m internals were rewritten to stop using eval(), this results in a few slight changes but overall makes them much more consistent
      • testdir.run().parseoutcomes() now always returns the parsed nouns in plural form. 
        • I'd say that's an improvement

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    pytest 6 is out. Specifically, 6.0.1, as of July 31.

     And there's lots to be excited about.
     Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.

    Full release notes / changelog

    Some of what we talk about:

    • How to update (at least, how I do it) 
      • Run your test suites with 5.4.3 or whatever the last version you were using
      • Update to 6
      • Run again. Same output? Probably good.
      • If there are any warnings, maybe fix those.
      • You can also run with pytest -W error to turn warnings into errors.
      • Then find out all the cool stuff you can do now
    • New Features 
      • pytest now supports pyproject.toml files for configuration. 
        • but remember, toml syntax is different than ini files. mostly quotes are needed 
      • pytest now includes inline type annotations and exposes them to user programs. 
        • Most of the user-facing API is covered, as well as internal code.
      • New command-line flags --no-header and --no-summary
      • A warning is now shown when an unknown key is read from a config INI file. 
        • The --strict-config flag has been added to treat these warnings as errors.
      • New required_plugins configuration option allows the user to specify a list of plugins, including version information, that are required for pytest to run. An error is raised if any required plugins are not found when running pytest.
    • Improvements 
      • You can now pass output to things like less and head that close the pipe passed to them. 
        • thank you!!!
      • Improved precision of test durations measurement. 
        • use --durations=10 -vv to capture and show durations
      • Rich comparison for dataclasses and attrs-classes is now recursive.
      • pytest --version now displays just the pytest version, 
        • while pytest --version --version displays more verbose information including plugins. 
      • --junitxml now includes the exception cause in the message XML attribute for failures during setup and teardown.
    • Improved Documentation 
      • Add a note about --strict and --strict-markers and the preference for the latter one.
      • Explain indirect parametrization and markers for fixtures.
    • Bug Fixes
    • Deprecations
    • Trivial/Internal Changes
    • Breaking Changes you might need to care about before upgrading 
      • PytestDeprecationWarning are now errors by default. 
      • -k and -m internals were rewritten to stop using eval(), this results in a few slight changes but overall makes them much more consistent
      • testdir.run().parseoutcomes() now always returns the parsed nouns in plural form. 
        • I'd say that's an improvement

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    Fri, 07 Aug 2020 12:00:00 -0700 Brian Okken Brian Okken 3556 pytest 6 is out. Specifically, 6.0.1, as of July 31.

     And there's lots to be excited about.
     Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.

    Full release notes / changelog

    Some of what we talk about:

    • How to update (at least, how I do it) 
      • Run your test suites with 5.4.3 or whatever the last version you were using
      • Update to 6
      • Run again. Same output? Probably good.
      • If there are any warnings, maybe fix those.
      • You can also run with pytest -W error to turn warnings into errors.
      • Then find out all the cool stuff you can do now
    • New Features 
      • pytest now supports pyproject.toml files for configuration. 
        • but remember, toml syntax is different than ini files. mostly quotes are needed 
      • pytest now includes inline type annotations and exposes them to user programs. 
        • Most of the user-facing API is covered, as well as internal code.
      • New command-line flags --no-header and --no-summary
      • A warning is now shown when an unknown key is read from a config INI file. 
        • The --strict-config flag has been added to treat these warnings as errors.
      • New required_plugins configuration option allows the user to specify a list of plugins, including version information, that are required for pytest to run. An error is raised if any required plugins are not found when running pytest.
    • Improvements 
      • You can now pass output to things like less and head that close the pipe passed to them. 
        • thank you!!!
      • Improved precision of test durations measurement. 
        • use --durations=10 -vv to capture and show durations
      • Rich comparison for dataclasses and attrs-classes is now recursive.
      • pytest --version now displays just the pytest version, 
        • while pytest --version --version displays more verbose information including plugins. 
      • --junitxml now includes the exception cause in the message XML attribute for failures during setup and teardown.
    • Improved Documentation 
      • Add a note about --strict and --strict-markers and the preference for the latter one.
      • Explain indirect parametrization and markers for fixtures.
    • Bug Fixes
    • Deprecations
    • Trivial/Internal Changes
    • Breaking Changes you might need to care about before upgrading 
      • PytestDeprecationWarning are now errors by default. 
      • -k and -m internals were rewritten to stop using eval(), this results in a few slight changes but overall makes them much more consistent
      • testdir.run().parseoutcomes() now always returns the parsed nouns in plural form. 
        • I'd say that's an improvement

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    pytest No Brian Okken
    124: pip dependency resolver changes 124 124 124: pip dependency resolver changes full 7ed45b09-239b-4eff-9147-a9a550bff99a https://pythontest.com/testandcode/episodes/124-pip-dependency-resolver-changes pip is the package installer for Python. 

    Often, when you run pip, especially the first time in a new virtual environment, you will see something like:

    WARNING: You are using pip version 20.1.1; however, version 20.2 is available.

     You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    And you should. Because 20.2 has a new dependency resolver.

    Get in the habit, until October, of replacing pip install with pip install --use-feature=2020-resolver.

     This flag is new in the 20.2 release.

    This new pip dependency resolver is the result of a lot of work.

     Five of the people involved with this work are joining the show today: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung. 

    We talk about: 

    • pip dependency resolver changes
    • user experience research and testing
    • crafting good error messages
    • efforts to improve the test suite
    • testing pip with pytest
    • some of the difficulties with testing pip
    • working with a team on a large project
    • working with a large code base
    • bringing new developers into a large project

    Special Guests: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.


    Links:




    ]]>
    pip is the package installer for Python. 

    Often, when you run pip, especially the first time in a new virtual environment, you will see something like:

    WARNING: You are using pip version 20.1.1; however, version 20.2 is available.

     You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    And you should. Because 20.2 has a new dependency resolver.

    Get in the habit, until October, of replacing pip install with pip install --use-feature=2020-resolver.

     This flag is new in the 20.2 release.

    This new pip dependency resolver is the result of a lot of work.

     Five of the people involved with this work are joining the show today: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung. 

    We talk about: 

    • pip dependency resolver changes
    • user experience research and testing
    • crafting good error messages
    • efforts to improve the test suite
    • testing pip with pytest
    • some of the difficulties with testing pip
    • working with a team on a large project
    • working with a large code base
    • bringing new developers into a large project

    Special Guests: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.


    Links:




    ]]>
    Mon, 03 Aug 2020 00:00:00 -0700 Brian Okken Brian Okken 2543 pip is the package installer for Python. 

    Often, when you run pip, especially the first time in a new virtual environment, you will see something like:

    WARNING: You are using pip version 20.1.1; however, version 20.2 is available.

     You should consider upgrading via the 'python -m pip install --upgrade pip' command.

    And you should. Because 20.2 has a new dependency resolver.

    Get in the habit, until October, of replacing pip install with pip install --use-feature=2020-resolver.

     This flag is new in the 20.2 release.

    This new pip dependency resolver is the result of a lot of work.

     Five of the people involved with this work are joining the show today: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung. 

    We talk about: 

    • pip dependency resolver changes
    • user experience research and testing
    • crafting good error messages
    • efforts to improve the test suite
    • testing pip with pytest
    • some of the difficulties with testing pip
    • working with a team on a large project
    • working with a large code base
    • bringing new developers into a large project

    Special Guests: Bernard Tyers, Nicole Harris, Paul Moore, Pradyun Gedam, and Tzu-ping Chung.


    Links:




    ]]>
    Python, pip, dependency resolver No Brian Okken
    123: GitHub Actions - Tania Allard 123 123 123: GitHub Actions - Tania Allard full 69e07d40-ba97-4b07-ac27-4b02a99ec80b https://pythontest.com/testandcode/episodes/123-github-actions-tania-allard 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.

    Some of the topics covered:

    • How to get started with GitHub Actions for a Python project?
    • What are workflow files?
    • Does it matter what the file name is called?
    • Can I have / Should I have more than one workflow?

    Special Guest: Tania Allard.


    Links:




    ]]>
    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.

    Some of the topics covered:

    • How to get started with GitHub Actions for a Python project?
    • What are workflow files?
    • Does it matter what the file name is called?
    • Can I have / Should I have more than one workflow?

    Special Guest: Tania Allard.


    Links:




    ]]>
    Fri, 24 Jul 2020 13:45:00 -0700 Brian Okken Brian Okken 1322 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.

    Some of the topics covered:

    • How to get started with GitHub Actions for a Python project?
    • What are workflow files?
    • Does it matter what the file name is called?
    • Can I have / Should I have more than one workflow?

    Special Guest: Tania Allard.


    Links:




    ]]>
    CI/CD, Continuous Integration, Continuous Deployment, GitHub Actions No Brian Okken
    122: Better Resumes for Software Engineers - Randall Kanna 122 122 122: Better Resumes for Software Engineers - Randall Kanna full 3878c840-b5bd-4a64-bc0e-eddb6ee38468 https://pythontest.com/testandcode/episodes/122-better-resumes-for-software-engineers-randall-kanna A great resume is key to landing a great software job.
     There's no surprise there.
     But so many people make mistakes on their resume that can very easily be fixed.

    Randall Kanna is on the show today to help us understand how to improve our resumes, and in turn, help us have better careers.

    Special Guest: Randall Kanna.


    Links:




    ]]>
    A great resume is key to landing a great software job.
     There's no surprise there.
     But so many people make mistakes on their resume that can very easily be fixed.

    Randall Kanna is on the show today to help us understand how to improve our resumes, and in turn, help us have better careers.

    Special Guest: Randall Kanna.


    Links:




    ]]>
    Thu, 16 Jul 2020 12:00:00 -0700 Brian Okken Brian Okken 2103 A great resume is key to landing a great software job.
     There's no surprise there.
     But so many people make mistakes on their resume that can very easily be fixed.

    Randall Kanna is on the show today to help us understand how to improve our resumes, and in turn, help us have better careers.

    Special Guest: Randall Kanna.


    Links:




    ]]>
    resume, career No Brian Okken
    121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger 121 121 121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger full 6df0b888-32ee-4a7a-9a54-b9145390fe39 https://pythontest.com/testandcode/episodes/121-industrial-3d-printing-python-finite-state-machines-and-simulating-hardware-len-wanger 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. 

    In this episode we talk about:

    • 3D printers
    • What are the different types of 3D printers?
    • Where are 3D printed industrial parts being used?
    • Why use one type of additive manufacturing over another?
    • Python in 3D printing hardware.
    • What are Finite State Machines, FSMs?
    • Benefits of FSMs for testing, logging, and breaking a complex behavior into small testable parts.
    • Benefits of simulation in writing and testing software to control hardware.

    Special Guest: Len Wanger.


    Links:




    ]]>
    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. 

    In this episode we talk about:

    • 3D printers
    • What are the different types of 3D printers?
    • Where are 3D printed industrial parts being used?
    • Why use one type of additive manufacturing over another?
    • Python in 3D printing hardware.
    • What are Finite State Machines, FSMs?
    • Benefits of FSMs for testing, logging, and breaking a complex behavior into small testable parts.
    • Benefits of simulation in writing and testing software to control hardware.

    Special Guest: Len Wanger.


    Links:




    ]]>
    Thu, 09 Jul 2020 22:45:00 -0700 Brian Okken Brian Okken 2817 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. 

    In this episode we talk about:

    • 3D printers
    • What are the different types of 3D printers?
    • Where are 3D printed industrial parts being used?
    • Why use one type of additive manufacturing over another?
    • Python in 3D printing hardware.
    • What are Finite State Machines, FSMs?
    • Benefits of FSMs for testing, logging, and breaking a complex behavior into small testable parts.
    • Benefits of simulation in writing and testing software to control hardware.

    Special Guest: Len Wanger.


    Links:




    ]]>
    3D printing, finite state machine, FSM, hardware No Brian Okken
    120: FastAPI & Typer - Sebastián Ramírez 120 120 120: FastAPI & Typer - Sebastián Ramírez full 1b78c67c-8d3b-4ac4-82c4-6e15084750f5 https://pythontest.com/testandcode/episodes/120-fastapi-typer-sebastian-ramirez FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
     Typer is a library for building CLI applications, also based on Python type hints.
     Type hints and many other details are intended to make it easier to develop, test, and debug applications using FastAPI and Typer.

    The person behind FastAPI and Typer is Sebastián Ramírez.

    Sebastián is on the show today, and we discuss:

    • FastAPI
    • Rest APIs
    • Swagger UI
    • Future features of FastAPI
    • Starlette
    • Typer
    • Click
    • Testing with Typer and Click
    • Typer autocompletion
    • Typer CLI

    Special Guest: Sebastián Ramírez.


    Links:




    ]]>
    FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
     Typer is a library for building CLI applications, also based on Python type hints.
     Type hints and many other details are intended to make it easier to develop, test, and debug applications using FastAPI and Typer.

    The person behind FastAPI and Typer is Sebastián Ramírez.

    Sebastián is on the show today, and we discuss:

    • FastAPI
    • Rest APIs
    • Swagger UI
    • Future features of FastAPI
    • Starlette
    • Typer
    • Click
    • Testing with Typer and Click
    • Typer autocompletion
    • Typer CLI

    Special Guest: Sebastián Ramírez.


    Links:




    ]]>
    Fri, 03 Jul 2020 00:00:00 -0700 Brian Okken Brian Okken 2587 FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
     Typer is a library for building CLI applications, also based on Python type hints.
     Type hints and many other details are intended to make it easier to develop, test, and debug applications using FastAPI and Typer.

    The person behind FastAPI and Typer is Sebastián Ramírez.

    Sebastián is on the show today, and we discuss:

    • FastAPI
    • Rest APIs
    • Swagger UI
    • Future features of FastAPI
    • Starlette
    • Typer
    • Click
    • Testing with Typer and Click
    • Typer autocompletion
    • Typer CLI

    Special Guest: Sebastián Ramírez.


    Links:




    ]]>
    REST API, CLI No Brian Okken Sebastián Ramírez
    119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon 119 119 119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon full 1555ba4d-39b0-406c-8023-23cc3814c357 https://pythontest.com/testandcode/episodes/119-editable-python-installs-packaging-standardization-and-pyproject-toml-brett-cannon There's stuff going on in Python packaging and pyproject.toml.

    Brett and I talk about some upcoming work on Python packaging, such as:

    • editable installs
    • the need for standardization
    • configuration of other tools in pyproject.toml

    And then get off on tangents and talk about:

    • why it's good to have packages like pip, toml, setuptools, wheel, etc not part of the standard library
    • should we remove some stuff from the standard library
    • the standard library using unittest for testing the standard library 
      • why not hypothesis
      • I didn't bring up "why not pytest?" but you know I was thinking it.
    • why CPython and not C++Python
    • and more

    Special Guest: Brett Cannon.


    Links:




    ]]>
    There's stuff going on in Python packaging and pyproject.toml.

    Brett and I talk about some upcoming work on Python packaging, such as:

    • editable installs
    • the need for standardization
    • configuration of other tools in pyproject.toml

    And then get off on tangents and talk about:

    • why it's good to have packages like pip, toml, setuptools, wheel, etc not part of the standard library
    • should we remove some stuff from the standard library
    • the standard library using unittest for testing the standard library 
      • why not hypothesis
      • I didn't bring up "why not pytest?" but you know I was thinking it.
    • why CPython and not C++Python
    • and more

    Special Guest: Brett Cannon.


    Links:




    ]]>
    Fri, 26 Jun 2020 00:00:00 -0700 Brian Okken Brian Okken 2067 There's stuff going on in Python packaging and pyproject.toml.

    Brett and I talk about some upcoming work on Python packaging, such as:

    • editable installs
    • the need for standardization
    • configuration of other tools in pyproject.toml

    And then get off on tangents and talk about:

    • why it's good to have packages like pip, toml, setuptools, wheel, etc not part of the standard library
    • should we remove some stuff from the standard library
    • the standard library using unittest for testing the standard library 
      • why not hypothesis
      • I didn't bring up "why not pytest?" but you know I was thinking it.
    • why CPython and not C++Python
    • and more

    Special Guest: Brett Cannon.


    Links:




    ]]>
    Python, pip, flit, poetry, packaging, pyproject.toml, toml, black, CPython, standard library No Brian Okken
    118: Code Coverage and 100% Coverage 118 118 118: Code Coverage and 100% Coverage full 9a07961d-d4c4-467f-807b-cd6daeb970ba https://pythontest.com/testandcode/episodes/118-code-coverage-and-100-coverage 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?

    I've been asked many times what I think about code coverage or test coverage.
     This episode is a train of thought brain dump on what I think about code coverage.

    We'll talk about:

    • how I use code coverage to help me write source code
    • line coverage and branch coverage
    • behavior coverage
    • using tests to ask and answer questions about the system under test
    • how to target coverage just to the code you care about
    • excluding code
    • good reasons and bad reasons to exclude code

    And also the Pareto Principle or 80/20 rule, and the law of diminishing returns and how that applies (or doesn't) to test coverage.


    Links:




    ]]>
    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?

    I've been asked many times what I think about code coverage or test coverage.
     This episode is a train of thought brain dump on what I think about code coverage.

    We'll talk about:

    • how I use code coverage to help me write source code
    • line coverage and branch coverage
    • behavior coverage
    • using tests to ask and answer questions about the system under test
    • how to target coverage just to the code you care about
    • excluding code
    • good reasons and bad reasons to exclude code

    And also the Pareto Principle or 80/20 rule, and the law of diminishing returns and how that applies (or doesn't) to test coverage.


    Links:




    ]]>
    Thu, 25 Jun 2020 17:00:00 -0700 Brian Okken Brian Okken 2547 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?

    I've been asked many times what I think about code coverage or test coverage.
     This episode is a train of thought brain dump on what I think about code coverage.

    We'll talk about:

    • how I use code coverage to help me write source code
    • line coverage and branch coverage
    • behavior coverage
    • using tests to ask and answer questions about the system under test
    • how to target coverage just to the code you care about
    • excluding code
    • good reasons and bad reasons to exclude code

    And also the Pareto Principle or 80/20 rule, and the law of diminishing returns and how that applies (or doesn't) to test coverage.


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    117: Python extension for VS Code - Brett Cannon 117 117 117: Python extension for VS Code - Brett Cannon full 00dbdd83-02bb-41d1-9156-816a6b0bd3f4 https://pythontest.com/testandcode/episodes/117-python-extension-for-vs-code-brett-cannon 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, including:

    • pytest support
    • virtual environment support
    • how settings work, including user and workspace settings
    • multi root projects
    • testing Python in VS Code
    • debugging and pydevd
    • jump to cursor feature
    • upcoming features

    Special Guest: Brett Cannon.


    Links:




    ]]>
    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, including:

    • pytest support
    • virtual environment support
    • how settings work, including user and workspace settings
    • multi root projects
    • testing Python in VS Code
    • debugging and pydevd
    • jump to cursor feature
    • upcoming features

    Special Guest: Brett Cannon.


    Links:




    ]]>
    Thu, 18 Jun 2020 00:30:00 -0700 Brian Okken Brian Okken 2961 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, including:

    • pytest support
    • virtual environment support
    • how settings work, including user and workspace settings
    • multi root projects
    • testing Python in VS Code
    • debugging and pydevd
    • jump to cursor feature
    • upcoming features

    Special Guest: Brett Cannon.


    Links:




    ]]>
    testing, pytest, VS Code, Python, IDEs No Brian Okken
    116: 15 amazing pytest plugins - Michael Kennedy 116 116 116: 15 amazing pytest plugins - Michael Kennedy full 2e3cd829-715c-4ffd-b681-29d90b27c7ca https://pythontest.com/testandcode/episodes/116-15-amazing-pytest-plugins-michael-kennedy pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.

    We also discuss fixtures and plugins and other testing tools that work great with pytest

    • tox
    • GitHub Actions
    • Coverage.py
    • Selenium + splinter with pytest-splinter
    • Hypothesis

    And then our list of pytest plugins:

    1. pytest-sugar 
    2. pytest-cov 
    3. pytest-stress 
    4. pytest-repeat 
    5. pytest-instafail 
    6. pytest-metadata
    7. pytest-randomly
    8. pytest-xdist 
    9. pytest-flake8 
    10. pytest-timeout 
    11. pytest-spec 
    12. pytest-picked 
    13. pytest-freezegun 
    14. pytest-check 
    15. fluentcheck

    That last one isn't a plugin, but we also talked about pytest-splinter at the beginning. So I think it still counts as 15.

    Special Guest: Michael Kennedy.


    Links:




    ]]>
    pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.

    We also discuss fixtures and plugins and other testing tools that work great with pytest

    • tox
    • GitHub Actions
    • Coverage.py
    • Selenium + splinter with pytest-splinter
    • Hypothesis

    And then our list of pytest plugins:

    1. pytest-sugar 
    2. pytest-cov 
    3. pytest-stress 
    4. pytest-repeat 
    5. pytest-instafail 
    6. pytest-metadata
    7. pytest-randomly
    8. pytest-xdist 
    9. pytest-flake8 
    10. pytest-timeout 
    11. pytest-spec 
    12. pytest-picked 
    13. pytest-freezegun 
    14. pytest-check 
    15. fluentcheck

    That last one isn't a plugin, but we also talked about pytest-splinter at the beginning. So I think it still counts as 15.

    Special Guest: Michael Kennedy.


    Links:




    ]]>
    Sun, 07 Jun 2020 23:00:00 -0700 Brian Okken Brian Okken 3024 pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.

    We also discuss fixtures and plugins and other testing tools that work great with pytest

    • tox
    • GitHub Actions
    • Coverage.py
    • Selenium + splinter with pytest-splinter
    • Hypothesis

    And then our list of pytest plugins:

    1. pytest-sugar 
    2. pytest-cov 
    3. pytest-stress 
    4. pytest-repeat 
    5. pytest-instafail 
    6. pytest-metadata
    7. pytest-randomly
    8. pytest-xdist 
    9. pytest-flake8 
    10. pytest-timeout 
    11. pytest-spec 
    12. pytest-picked 
    13. pytest-freezegun 
    14. pytest-check 
    15. fluentcheck

    That last one isn't a plugin, but we also talked about pytest-splinter at the beginning. So I think it still counts as 15.

    Special Guest: Michael Kennedy.


    Links:




    ]]>
    software testing, pytest, plugins No Brian Okken Michael Kennedy
    115: Catching up with Nina Zakharenko 115 115 115: Catching up with Nina Zakharenko full a68013e5-8049-4d2e-9292-3ec46970f558 https://pythontest.com/testandcode/episodes/115-catching-up-with-nina-zakharenko One of the great things about attending in person coding conferences, such as PyCon, is the hallway track, where you can catch up with people you haven't seen for possibly a year, or maybe even the first time you've met in person. 

    Nina is starting something like the hallway track, online, on twitch, and it's already going, so check out the first episode of Python Tea.

    Interesting coincidence is that this episode is kind of like a hallway track discussion between Nina and Brian.

    We've had Nina on the show a couple times before, but it's been a while.

     In 2018, we talked about Mentoring on episode 44.
    In 2019, we talked about giving Memorable Tech Talks in episode 71.

    In this episode, we catch up with Nina, find out what she's doing, and talk about a bunch of stuff, including:

    • Live Coding
    • Online Conferences
    • Microsoft Python team
    • Python Tea, an online hallway track
    • Q&A with Python for VS Code team
    • Python on hardware
    • Adafruit
    • Device Simulator Express
    • CircuitPython
    • Tricking out your command prompt
    • Zsh and Oh My Zsh
    • Emacs vs vi key bindings for shells 
    • Working from home

    Special Guest: Nina Zakharenko.


    Links:




    ]]>
    One of the great things about attending in person coding conferences, such as PyCon, is the hallway track, where you can catch up with people you haven't seen for possibly a year, or maybe even the first time you've met in person. 

    Nina is starting something like the hallway track, online, on twitch, and it's already going, so check out the first episode of Python Tea.

    Interesting coincidence is that this episode is kind of like a hallway track discussion between Nina and Brian.

    We've had Nina on the show a couple times before, but it's been a while.

     In 2018, we talked about Mentoring on episode 44.
    In 2019, we talked about giving Memorable Tech Talks in episode 71.

    In this episode, we catch up with Nina, find out what she's doing, and talk about a bunch of stuff, including:

    • Live Coding
    • Online Conferences
    • Microsoft Python team
    • Python Tea, an online hallway track
    • Q&A with Python for VS Code team
    • Python on hardware
    • Adafruit
    • Device Simulator Express
    • CircuitPython
    • Tricking out your command prompt
    • Zsh and Oh My Zsh
    • Emacs vs vi key bindings for shells 
    • Working from home

    Special Guest: Nina Zakharenko.


    Links:




    ]]>
    Sat, 30 May 2020 16:15:00 -0700 Brian Okken Brian Okken 2406 One of the great things about attending in person coding conferences, such as PyCon, is the hallway track, where you can catch up with people you haven't seen for possibly a year, or maybe even the first time you've met in person. 

    Nina is starting something like the hallway track, online, on twitch, and it's already going, so check out the first episode of Python Tea.

    Interesting coincidence is that this episode is kind of like a hallway track discussion between Nina and Brian.

    We've had Nina on the show a couple times before, but it's been a while.

     In 2018, we talked about Mentoring on episode 44.
    In 2019, we talked about giving Memorable Tech Talks in episode 71.

    In this episode, we catch up with Nina, find out what she's doing, and talk about a bunch of stuff, including:

    • Live Coding
    • Online Conferences
    • Microsoft Python team
    • Python Tea, an online hallway track
    • Q&A with Python for VS Code team
    • Python on hardware
    • Adafruit
    • Device Simulator Express
    • CircuitPython
    • Tricking out your command prompt
    • Zsh and Oh My Zsh
    • Emacs vs vi key bindings for shells 
    • Working from home

    Special Guest: Nina Zakharenko.


    Links:




    ]]>
    twitch, Python, live coding, online conferences, adafruit, CircuitPython, WFH, Oh My Zsh No Brian Okken
    114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska / Christopher Neugebauer 114 114 114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska / Christopher Neugebauer full 0741ba1f-e1be-41ff-8261-02be6d095cc7 https://pythontest.com/testandcode/episodes/114-the-python-software-foundation-psf-board-elections-ewa-jodlowska-christopher-neugebauer "The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers."

    That's a lot of responsibility, and to that end, the PSF Board Directors help out quite a bit. 

    If you want to be a part of the board, you can. There's an election coming up right around the corner and you gotta get your nomination in by May 31. You can also join the PSF if you want to vote for who gets to be part of the board. 

    But what does it really mean to be on the Board, and what are some of the things the PSF does? 

    To help answer those questions, I've got Ewa Jodlowska, the PSF Executive Director, and Christopher Neugebauer, a current board member, on the show today. I've also got some great links in the show notes if we don't answer your questions and you want to find out more.

    Special Guests: Christopher Neugebauer and Ewa Jodlowska.


    Links:




    ]]>
    "The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers."

    That's a lot of responsibility, and to that end, the PSF Board Directors help out quite a bit. 

    If you want to be a part of the board, you can. There's an election coming up right around the corner and you gotta get your nomination in by May 31. You can also join the PSF if you want to vote for who gets to be part of the board. 

    But what does it really mean to be on the Board, and what are some of the things the PSF does? 

    To help answer those questions, I've got Ewa Jodlowska, the PSF Executive Director, and Christopher Neugebauer, a current board member, on the show today. I've also got some great links in the show notes if we don't answer your questions and you want to find out more.

    Special Guests: Christopher Neugebauer and Ewa Jodlowska.


    Links:




    ]]>
    Sun, 24 May 2020 10:00:00 -0700 Brian Okken Brian Okken 1781 "The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers."

    That's a lot of responsibility, and to that end, the PSF Board Directors help out quite a bit. 

    If you want to be a part of the board, you can. There's an election coming up right around the corner and you gotta get your nomination in by May 31. You can also join the PSF if you want to vote for who gets to be part of the board. 

    But what does it really mean to be on the Board, and what are some of the things the PSF does? 

    To help answer those questions, I've got Ewa Jodlowska, the PSF Executive Director, and Christopher Neugebauer, a current board member, on the show today. I've also got some great links in the show notes if we don't answer your questions and you want to find out more.

    Special Guests: Christopher Neugebauer and Ewa Jodlowska.


    Links:




    ]]>
    PSF, Python Software Foundation No Brian Okken
    113: Technical Debt - James Smith 113 113 113: Technical Debt - James Smith full 0dbe59ab-5d37-4089-9bc4-3d76bf144cc1 https://pythontest.com/testandcode/episodes/113-technical-debt-james-smith Technical debt has to be dealt with on a regular basis to have a healthy product and development team.

    The impacts of technical debt include emotional drain on engineers and slowing down development and can adversely affect your hiring ability and retention.

    But really, what is technical debt? Can we measure it? How do we reduce it, and when?

    James Smith, the CEO of Bugsnag, joins the show to talk about technical debt and all of these questions.

    Special Guest: James Smith.





    ]]>
    Technical debt has to be dealt with on a regular basis to have a healthy product and development team.

    The impacts of technical debt include emotional drain on engineers and slowing down development and can adversely affect your hiring ability and retention.

    But really, what is technical debt? Can we measure it? How do we reduce it, and when?

    James Smith, the CEO of Bugsnag, joins the show to talk about technical debt and all of these questions.

    Special Guest: James Smith.





    ]]>
    Fri, 15 May 2020 10:00:00 -0700 Brian Okken Brian Okken 1684 Technical debt has to be dealt with on a regular basis to have a healthy product and development team.

    The impacts of technical debt include emotional drain on engineers and slowing down development and can adversely affect your hiring ability and retention.

    But really, what is technical debt? Can we measure it? How do we reduce it, and when?

    James Smith, the CEO of Bugsnag, joins the show to talk about technical debt and all of these questions.

    Special Guest: James Smith.





    ]]>
    technical debt No Brian Okken
    112: Six Principles of Readable Tests - David Seddon 112 112 112: Six Principles of Readable Tests - David Seddon full d5e13fd7-2008-4509-b563-c1988cb0ca4c https://pythontest.com/testandcode/episodes/112-six-principles-of-readable-tests-david-seddon "Code is read much more often than it is written." - Guido van Rossum
     This is true for both production code and test code.

    When you are trying to understand why a test is failing, you'll be very grateful to the test author if they've taken the care to make it readable.

    David Seddon came up with 6 principles to help us write more readable tests.
     We discuss these, as well as more benefits of readable tests.

    David's 6 Principles of Readable Tests:

    1. Profit from the work of others
    2. Put naming to work
    3. Show only what matters
    4. Don’t repeat yourself
    5. Arrange, act, assert
    6. Aim high

    Special Guest: David Seddon.


    Links:




    ]]>
    "Code is read much more often than it is written." - Guido van Rossum
     This is true for both production code and test code.

    When you are trying to understand why a test is failing, you'll be very grateful to the test author if they've taken the care to make it readable.

    David Seddon came up with 6 principles to help us write more readable tests.
     We discuss these, as well as more benefits of readable tests.

    David's 6 Principles of Readable Tests:

    1. Profit from the work of others
    2. Put naming to work
    3. Show only what matters
    4. Don’t repeat yourself
    5. Arrange, act, assert
    6. Aim high

    Special Guest: David Seddon.


    Links:




    ]]>
    Fri, 08 May 2020 12:15:00 -0700 Brian Okken Brian Okken 2651 "Code is read much more often than it is written." - Guido van Rossum
     This is true for both production code and test code.

    When you are trying to understand why a test is failing, you'll be very grateful to the test author if they've taken the care to make it readable.

    David Seddon came up with 6 principles to help us write more readable tests.
     We discuss these, as well as more benefits of readable tests.

    David's 6 Principles of Readable Tests:

    1. Profit from the work of others
    2. Put naming to work
    3. Show only what matters
    4. Don’t repeat yourself
    5. Arrange, act, assert
    6. Aim high

    Special Guest: David Seddon.


    Links:




    ]]>
    software testing, No Brian Okken
    111: Subtests in Python with unittest and pytest - Paul Ganssle 111 111 111: Subtests in Python with unittest and pytest - Paul Ganssle full 324689a1-dcf3-4685-8b34-3910f199758d https://pythontest.com/testandcode/episodes/111-subtests-in-python-with-unittest-and-pytest-paul-ganssle In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test. 

    What if you want to keep going, and check more things?

     There are a few ways. One of them is subtests.

    Python's unittest introduced subtests in Python 3.4.

     pytest introduced support for subtests with changes in pytest 4.4 and a plugin, called pytest-subtests.
     Subtests are still not really used that much.

    But really, what are they? When could you use them?

     And more importantly, what should you watch out for if you decide to use them?

    That's what Paul Ganssle and I will be talking about today.

    Special Guest: Paul Ganssle.


    Links:




    ]]>
    In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test. 

    What if you want to keep going, and check more things?

     There are a few ways. One of them is subtests.

    Python's unittest introduced subtests in Python 3.4.

     pytest introduced support for subtests with changes in pytest 4.4 and a plugin, called pytest-subtests.
     Subtests are still not really used that much.

    But really, what are they? When could you use them?

     And more importantly, what should you watch out for if you decide to use them?

    That's what Paul Ganssle and I will be talking about today.

    Special Guest: Paul Ganssle.


    Links:




    ]]>
    Sat, 02 May 2020 08:30:00 -0700 Brian Okken Brian Okken 2799 In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test. 

    What if you want to keep going, and check more things?

     There are a few ways. One of them is subtests.

    Python's unittest introduced subtests in Python 3.4.

     pytest introduced support for subtests with changes in pytest 4.4 and a plugin, called pytest-subtests.
     Subtests are still not really used that much.

    But really, what are they? When could you use them?

     And more importantly, what should you watch out for if you decide to use them?

    That's what Paul Ganssle and I will be talking about today.

    Special Guest: Paul Ganssle.


    Links:




    ]]>
    pytest, unittest, subtest, Python, software testing No Brian Okken
    110: Testing Django - from unittest to pytest - Adam Parkin 110 110 110: Testing Django - from unittest to pytest - Adam Parkin full 6f37a44e-06d4-4527-b0ac-6641979ce2f7 https://pythontest.com/testandcode/episodes/110-testing-django-from-unittest-to-pytest-adam-parkin Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.

    Adam Parkin, who is known online as CodependentCodr, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.

    Special Guest: Adam Parkin.


    Links:




    ]]>
    Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.

    Adam Parkin, who is known online as CodependentCodr, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.

    Special Guest: Adam Parkin.


    Links:




    ]]>
    Sat, 25 Apr 2020 16:30:00 -0700 Brian Okken Brian Okken 1454 Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.

    Adam Parkin, who is known online as CodependentCodr, joins us to talk about migrating an existing Django project from unittest to pytest. Adam tells us just how easy this is.

    Special Guest: Adam Parkin.


    Links:




    ]]>
    software testing, django, unittest, pytest No Brian Okken
    109: Testing in Financial Services - Eric Bergemann 109 109 109: Testing in Financial Services - Eric Bergemann full e1023048-be48-4f30-ac15-0dc138b80329 https://pythontest.com/testandcode/episodes/109-testing-in-financial-services-eric-bergemann Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects. 

    Eric Bergemann joins Brian Okken to discuss:

    • Specific testing challenges in the financial services domain
    • CI/CD : Continuous Integration, Continuous Deployment
    • TDD : Test Driven Development
    • Confidence from testable applications
    • Testing strategies to add coverage to legacy systems
    • Testing the data and test cases themselves
    • DevOps
    • Continuous testing
    • Manual testing procedures
    • BDD & Gherkin
    • Hiring in vs training industry knowledge

    Special Guest: Eric Bergemann.


    Links:




    ]]>
    Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects. 

    Eric Bergemann joins Brian Okken to discuss:

    • Specific testing challenges in the financial services domain
    • CI/CD : Continuous Integration, Continuous Deployment
    • TDD : Test Driven Development
    • Confidence from testable applications
    • Testing strategies to add coverage to legacy systems
    • Testing the data and test cases themselves
    • DevOps
    • Continuous testing
    • Manual testing procedures
    • BDD & Gherkin
    • Hiring in vs training industry knowledge

    Special Guest: Eric Bergemann.


    Links:




    ]]>
    Tue, 14 Apr 2020 15:00:00 -0700 Brian Okken Brian Okken 1727 Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects. 

    Eric Bergemann joins Brian Okken to discuss:

    • Specific testing challenges in the financial services domain
    • CI/CD : Continuous Integration, Continuous Deployment
    • TDD : Test Driven Development
    • Confidence from testable applications
    • Testing strategies to add coverage to legacy systems
    • Testing the data and test cases themselves
    • DevOps
    • Continuous testing
    • Manual testing procedures
    • BDD & Gherkin
    • Hiring in vs training industry knowledge

    Special Guest: Eric Bergemann.


    Links:




    ]]>
    financial services, testing, CI, CD, TDD, DevOps No Brian Okken
    108: PySpark - Jonathan Rioux 108 108 108: PySpark - Jonathan Rioux full e115d342-e20b-4f60-b7ae-e0fe4d2f1a5a https://pythontest.com/testandcode/episodes/108-pyspark-jonathan-rioux Apache Spark is a unified analytics engine for large-scale data processing.
     PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.

    Johnathan Rioux, author of "PySpark in Action", joins the show and gives us a great introduction of Spark and PySpark to help us decide how to get started and decide whether or not to decide if Spark and PySpark are right you.

    Special Guest: Jonathan Rioux.


    Links:




    ]]>
    Apache Spark is a unified analytics engine for large-scale data processing.
     PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.

    Johnathan Rioux, author of "PySpark in Action", joins the show and gives us a great introduction of Spark and PySpark to help us decide how to get started and decide whether or not to decide if Spark and PySpark are right you.

    Special Guest: Jonathan Rioux.


    Links:




    ]]>
    Thu, 09 Apr 2020 08:00:00 -0700 Brian Okken Brian Okken 1864 Apache Spark is a unified analytics engine for large-scale data processing.
     PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.

    Johnathan Rioux, author of "PySpark in Action", joins the show and gives us a great introduction of Spark and PySpark to help us decide how to get started and decide whether or not to decide if Spark and PySpark are right you.

    Special Guest: Jonathan Rioux.


    Links:




    ]]>
    data science, PySpark, Python, data processing No Brian Okken
    107: Property Based Testing in Python with Hypothesis - Alexander Hultnér 107 107 107: Property Based Testing in Python with Hypothesis - Alexander Hultnér full f1d9dc2a-7cd6-423a-b058-6060eca364b3 https://pythontest.com/testandcode/episodes/107-property-based-testing-in-python-with-hypothesis-alexander-hultner Hypothesis is the Python tool used for property based testing.
     Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."

    In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.

    Some topics covered:

    • What is property based testing
    • Thinking differently for property based testing
    • Using hypothesis / property based testing in conjunction with normal testing
    • Failures saved and re-run
    • What parts of development/testing is best suited for hypothesis / property based testing 
    • Comparing function implementations
    • Testing against REST APIs that use Open API / Swagger with schemathesis 
    • Changing the number of tests in different test environments
    • System, integration, end to end, and unit tests

    Special Guest: Alexander Hultnér.


    Links:




    ]]>
    Hypothesis is the Python tool used for property based testing.
     Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."

    In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.

    Some topics covered:

    • What is property based testing
    • Thinking differently for property based testing
    • Using hypothesis / property based testing in conjunction with normal testing
    • Failures saved and re-run
    • What parts of development/testing is best suited for hypothesis / property based testing 
    • Comparing function implementations
    • Testing against REST APIs that use Open API / Swagger with schemathesis 
    • Changing the number of tests in different test environments
    • System, integration, end to end, and unit tests

    Special Guest: Alexander Hultnér.


    Links:




    ]]>
    Fri, 27 Mar 2020 08:00:00 -0700 Brian Okken Brian Okken 2129 Hypothesis is the Python tool used for property based testing.
     Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."

    In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.

    Some topics covered:

    • What is property based testing
    • Thinking differently for property based testing
    • Using hypothesis / property based testing in conjunction with normal testing
    • Failures saved and re-run
    • What parts of development/testing is best suited for hypothesis / property based testing 
    • Comparing function implementations
    • Testing against REST APIs that use Open API / Swagger with schemathesis 
    • Changing the number of tests in different test environments
    • System, integration, end to end, and unit tests

    Special Guest: Alexander Hultnér.


    Links:




    ]]>
    Python, Hypothesis, Property Based Testing No Brian Okken
    106: Visual Testing : How IDEs can make software testing easier - Paul Everitt 106 106 106: Visual Testing : How IDEs can make software testing easier - Paul Everitt full 13881fa6-826a-475a-8771-0c76c77f6e35 https://pythontest.com/testandcode/episodes/106-visual-testing-how-ides-can-make-software-testing-easier-paul-everitt IDEs can help people with automated testing.

    In this episode, Paul Everitt and Brian discuss ways IDEs can encourage testing and make it easier for everyone, including beginners. We discuss features that exist and are great, as well as what is missing.

    The conversation also includes topics around being welcoming to new contributors for both open source and professional projects.

    We talk about a lot of topics, and it's a lot of fun. But it's also important. Because IDEs can make testing 

    Some topics discussed:

    • Making testing more accessible
    • Test First vs teaching testing last
    • TDD workflow
    • Autorun
    • Rerunning last failures
    • Different ways to run different levels of tests
    • Command line flags and how to access them in IDEs
    • pytest.ini
    • zooming in and out of test levels
    • running parametrizations
    • running tests with coverage and profiling
    • parametrize vs parameterize
    • parametrization identifiers
    • pytest fixture support
    • global configurations / configuration templates
    • coverage and testing and being inviting to new contributors
    • confidence in changes and confidence in contributions
    • navigating code, tests, fixtures
    • grouping tests in modules, classes, directories
    • BDD, behavior driven development, cucumber, pytest-bdd
    • web development testing
    • parallel testing with xdist and IDE support
    • refactor rename

    Special Guest: Paul Everitt.

    Links:




    ]]>
    IDEs can help people with automated testing.

    In this episode, Paul Everitt and Brian discuss ways IDEs can encourage testing and make it easier for everyone, including beginners. We discuss features that exist and are great, as well as what is missing.

    The conversation also includes topics around being welcoming to new contributors for both open source and professional projects.

    We talk about a lot of topics, and it's a lot of fun. But it's also important. Because IDEs can make testing 

    Some topics discussed:

    • Making testing more accessible
    • Test First vs teaching testing last
    • TDD workflow
    • Autorun
    • Rerunning last failures
    • Different ways to run different levels of tests
    • Command line flags and how to access them in IDEs
    • pytest.ini
    • zooming in and out of test levels
    • running parametrizations
    • running tests with coverage and profiling
    • parametrize vs parameterize
    • parametrization identifiers
    • pytest fixture support
    • global configurations / configuration templates
    • coverage and testing and being inviting to new contributors
    • confidence in changes and confidence in contributions
    • navigating code, tests, fixtures
    • grouping tests in modules, classes, directories
    • BDD, behavior driven development, cucumber, pytest-bdd
    • web development testing
    • parallel testing with xdist and IDE support
    • refactor rename

    Special Guest: Paul Everitt.

    Links:




    ]]>
    Fri, 20 Mar 2020 15:15:00 -0700 Brian Okken Brian Okken 3030 IDEs can help people with automated testing.

    In this episode, Paul Everitt and Brian discuss ways IDEs can encourage testing and make it easier for everyone, including beginners. We discuss features that exist and are great, as well as what is missing.

    The conversation also includes topics around being welcoming to new contributors for both open source and professional projects.

    We talk about a lot of topics, and it's a lot of fun. But it's also important. Because IDEs can make testing 

    Some topics discussed:

    • Making testing more accessible
    • Test First vs teaching testing last
    • TDD workflow
    • Autorun
    • Rerunning last failures
    • Different ways to run different levels of tests
    • Command line flags and how to access them in IDEs
    • pytest.ini
    • zooming in and out of test levels
    • running parametrizations
    • running tests with coverage and profiling
    • parametrize vs parameterize
    • parametrization identifiers
    • pytest fixture support
    • global configurations / configuration templates
    • coverage and testing and being inviting to new contributors
    • confidence in changes and confidence in contributions
    • navigating code, tests, fixtures
    • grouping tests in modules, classes, directories
    • BDD, behavior driven development, cucumber, pytest-bdd
    • web development testing
    • parallel testing with xdist and IDE support
    • refactor rename

    Special Guest: Paul Everitt.

    Links:




    ]]>
    IDEs, software testing, PyCharm, pytest No Brian Okken
    105: TAP: Test Anything Protocol - Matt Layman 105 105 105: TAP: Test Anything Protocol - Matt Layman full 963914cc-c298-47f6-931d-bcb21a9ee075 https://pythontest.com/testandcode/episodes/105-tap-test-anything-protocol-matt-layman The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking.

    Matt Layman has contributed to Python in many ways, including his educational newsletter, and his Django podcast, Django Riffs.

    Matt is also the maintainer of tap.py and pytest-tap, two tools that bring the Test Anything Protocol to Python.

    In this episode, Matt and I discuss TAP, it's history, his involvement, and some cool use cases for it.

    Special Guest: Matt Layman.


    Links:




    ]]>
    The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking.

    Matt Layman has contributed to Python in many ways, including his educational newsletter, and his Django podcast, Django Riffs.

    Matt is also the maintainer of tap.py and pytest-tap, two tools that bring the Test Anything Protocol to Python.

    In this episode, Matt and I discuss TAP, it's history, his involvement, and some cool use cases for it.

    Special Guest: Matt Layman.


    Links:




    ]]>
    Wed, 11 Mar 2020 00:00:00 -0700 Brian Okken Brian Okken 1740 The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking.

    Matt Layman has contributed to Python in many ways, including his educational newsletter, and his Django podcast, Django Riffs.

    Matt is also the maintainer of tap.py and pytest-tap, two tools that bring the Test Anything Protocol to Python.

    In this episode, Matt and I discuss TAP, it's history, his involvement, and some cool use cases for it.

    Special Guest: Matt Layman.


    Links:




    ]]>
    pytest, TAP, software testing No Brian Okken
    104: Top 28 pytest plugins - Anthony Sottile 104 104 104: Top 28 pytest plugins - Anthony Sottile full d10e82f5-2c59-4f24-86d9-0becf2006c83 https://pythontest.com/testandcode/episodes/104-top-28-pytest-plugins-anthony-sottile pytest is awesome by itself. pytest + plugins is even better.
     In this episode, Anthony Sottile and Brian Okken discuss the top 28 pytest plugins.

    Some of the plugins discussed (we also mention a few plugins related to some on this list):

    1.  pytest-cov
    2.  pytest-timeout
    3.  pytest-xdist
    4.  pytest-mock
    5.  pytest-runner
    6.  pytest-instafail
    7.  pytest-django
    8.  pytest-html
    9.  pytest-metadata
    10. pytest-asyncio
    11. pytest-split-tests
    12. pytest-sugar
    13. pytest-rerunfailures
    14. pytest-env
    15. pytest-cache
    16. pytest-flask
    17. pytest-benchmark
    18. pytest-ordering
    19. pytest-watch
    20. pytest-pythonpath
    21. pytest-flake8
    22. pytest-pep8
    23. pytest-repeat
    24. pytest-pylint
    25. pytest-randomly
    26. pytest-selenium
    27. pytest-mypy
    28. pytest-freezegun

    Honorable mention:

    • pytest-black
    • pytest-emoji
    • pytest-poo

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    pytest is awesome by itself. pytest + plugins is even better.
     In this episode, Anthony Sottile and Brian Okken discuss the top 28 pytest plugins.

    Some of the plugins discussed (we also mention a few plugins related to some on this list):

    1.  pytest-cov
    2.  pytest-timeout
    3.  pytest-xdist
    4.  pytest-mock
    5.  pytest-runner
    6.  pytest-instafail
    7.  pytest-django
    8.  pytest-html
    9.  pytest-metadata
    10. pytest-asyncio
    11. pytest-split-tests
    12. pytest-sugar
    13. pytest-rerunfailures
    14. pytest-env
    15. pytest-cache
    16. pytest-flask
    17. pytest-benchmark
    18. pytest-ordering
    19. pytest-watch
    20. pytest-pythonpath
    21. pytest-flake8
    22. pytest-pep8
    23. pytest-repeat
    24. pytest-pylint
    25. pytest-randomly
    26. pytest-selenium
    27. pytest-mypy
    28. pytest-freezegun

    Honorable mention:

    • pytest-black
    • pytest-emoji
    • pytest-poo

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    Wed, 04 Mar 2020 01:45:00 -0700 Brian Okken Brian Okken 2704 pytest is awesome by itself. pytest + plugins is even better.
     In this episode, Anthony Sottile and Brian Okken discuss the top 28 pytest plugins.

    Some of the plugins discussed (we also mention a few plugins related to some on this list):

    1.  pytest-cov
    2.  pytest-timeout
    3.  pytest-xdist
    4.  pytest-mock
    5.  pytest-runner
    6.  pytest-instafail
    7.  pytest-django
    8.  pytest-html
    9.  pytest-metadata
    10. pytest-asyncio
    11. pytest-split-tests
    12. pytest-sugar
    13. pytest-rerunfailures
    14. pytest-env
    15. pytest-cache
    16. pytest-flask
    17. pytest-benchmark
    18. pytest-ordering
    19. pytest-watch
    20. pytest-pythonpath
    21. pytest-flake8
    22. pytest-pep8
    23. pytest-repeat
    24. pytest-pylint
    25. pytest-randomly
    26. pytest-selenium
    27. pytest-mypy
    28. pytest-freezegun

    Honorable mention:

    • pytest-black
    • pytest-emoji
    • pytest-poo

    Special Guest: Anthony Sottile.


    Links:




    ]]>
    pytest, plugins, Python, software testing No Brian Okken
    103: Django - Lacey Williams Henschel 103 103 103: Django - Lacey Williams Henschel full f9cdf2e1-893a-4f3c-b45f-838a6aaae413 https://pythontest.com/testandcode/episodes/103-django-lacey-williams-henschel Django is without a doubt one of the most used web frameworks for Python. Lacey Williams Henschel is a Django consultant and has joined me to talk about Django, the Django community, and so much more.

    Topics:

    • Django
    • The Django Community
    • Django Girls
    • Django Girls Tutorial
    • DjangoCon
    • Software Testing
    • Using tests during learning
    • pytest-django
    • testing Django
    • Wagtail

    Special Guest: Lacey Williams Henschel.


    Links:




    ]]>
    Django is without a doubt one of the most used web frameworks for Python. Lacey Williams Henschel is a Django consultant and has joined me to talk about Django, the Django community, and so much more.

    Topics:

    • Django
    • The Django Community
    • Django Girls
    • Django Girls Tutorial
    • DjangoCon
    • Software Testing
    • Using tests during learning
    • pytest-django
    • testing Django
    • Wagtail

    Special Guest: Lacey Williams Henschel.


    Links:




    ]]>
    Sat, 29 Feb 2020 17:30:00 -0700 Brian Okken Brian Okken 1595 Django is without a doubt one of the most used web frameworks for Python. Lacey Williams Henschel is a Django consultant and has joined me to talk about Django, the Django community, and so much more.

    Topics:

    • Django
    • The Django Community
    • Django Girls
    • Django Girls Tutorial
    • DjangoCon
    • Software Testing
    • Using tests during learning
    • pytest-django
    • testing Django
    • Wagtail

    Special Guest: Lacey Williams Henschel.


    Links:




    ]]>
    Django, Software Testing, Web Frameworks No Brian Okken
    102: Cosmic Python, TDD, testing and external dependencies - Harry Percival 102 102 102: Cosmic Python, TDD, testing and external dependencies - Harry Percival full 1b799c2c-353a-446d-adb8-0fa4860fadbc https://pythontest.com/testandcode/episodes/102-cosmic-python-tdd-testing-and-external-dependencies-harry-percival Harry Percival has completed his second book, "Architecture Patterns with Python".
     So of course we talk about the book, also known as "Cosmic Python".
     We also discuss lots of testing topics, especially related to larger systems and systems involving third party interfaces and APIs.

    Topics 

    • Harry's new book, "Architecture Patterns with Python". a.k.a. Cosmic Python 
    • TDD : Test Driven Development
    • Test Pyramid
    • Tradeoffs of different architectural choices
    • Mocks and their pitfalls
    • Avoiding mocks
    • Separating conceptual business logic
    • Dependency injection
    • Dependency inversion
    • Identifying external dependencies
    • Interface adapters to mimize the exposed surface area of external dependencies
    • London School vs Classic/Detroit School of TDD
    • Testing strategies for testing external REST APIs

    Links:

    ]]>
    Harry Percival has completed his second book, "Architecture Patterns with Python".
     So of course we talk about the book, also known as "Cosmic Python".
     We also discuss lots of testing topics, especially related to larger systems and systems involving third party interfaces and APIs.

    Topics 

    • Harry's new book, "Architecture Patterns with Python". a.k.a. Cosmic Python 
    • TDD : Test Driven Development
    • Test Pyramid
    • Tradeoffs of different architectural choices
    • Mocks and their pitfalls
    • Avoiding mocks
    • Separating conceptual business logic
    • Dependency injection
    • Dependency inversion
    • Identifying external dependencies
    • Interface adapters to mimize the exposed surface area of external dependencies
    • London School vs Classic/Detroit School of TDD
    • Testing strategies for testing external REST APIs

    Links:

    ]]>
    Thu, 27 Feb 2020 02:00:00 -0700 Brian Okken Brian Okken 2505 Harry Percival has completed his second book, "Architecture Patterns with Python".
     So of course we talk about the book, also known as "Cosmic Python".
     We also discuss lots of testing topics, especially related to larger systems and systems involving third party interfaces and APIs.

    Topics 

    • Harry's new book, "Architecture Patterns with Python". a.k.a. Cosmic Python 
    • TDD : Test Driven Development
    • Test Pyramid
    • Tradeoffs of different architectural choices
    • Mocks and their pitfalls
    • Avoiding mocks
    • Separating conceptual business logic
    • Dependency injection
    • Dependency inversion
    • Identifying external dependencies
    • Interface adapters to mimize the exposed surface area of external dependencies
    • London School vs Classic/Detroit School of TDD
    • Testing strategies for testing external REST APIs

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken Harry Percival @hjwp@fosstodon.org
    101: Application Security - Anthony Shaw 101 101 101: Application Security - Anthony Shaw full e4d2655c-a9a8-4681-90a0-0faa0e5ab36b https://pythontest.com/testandcode/episodes/101-application-security-anthony-shaw Application security is best designed into a system from the start.
     Anthony Shaw is doing something about it by creating an editor plugin that actually helps you write more secure application code while you are coding.

    On today's Test & Code, Anthony and I discuss his security plugin, but also application security in general, as well as other security components you need to consider.

    Security is something every team needs to think about, whether you are a single person team, a small startup, or a large corporation.

    Anthony and I also discuss where to start if it's just a few of you, or even just one of you.

    Topics include:

    • Finding security risks while writing code.
    • What are the risks for your applications.
    • Thinking about attack surfaces.
    • Static and dynamic code analysis.
    • Securing the environment an app is running in.
    • Tools for scanning live sites for vulnerabilities.
    • Secret management.
    • Hashing algorithms.
    • Authentication systems.
    • and Anthony's upcoming cPython Internals book.

    Special Guest: Anthony Shaw.


    Links:




    ]]>
    Application security is best designed into a system from the start.
     Anthony Shaw is doing something about it by creating an editor plugin that actually helps you write more secure application code while you are coding.

    On today's Test & Code, Anthony and I discuss his security plugin, but also application security in general, as well as other security components you need to consider.

    Security is something every team needs to think about, whether you are a single person team, a small startup, or a large corporation.

    Anthony and I also discuss where to start if it's just a few of you, or even just one of you.

    Topics include:

    • Finding security risks while writing code.
    • What are the risks for your applications.
    • Thinking about attack surfaces.
    • Static and dynamic code analysis.
    • Securing the environment an app is running in.
    • Tools for scanning live sites for vulnerabilities.
    • Secret management.
    • Hashing algorithms.
    • Authentication systems.
    • and Anthony's upcoming cPython Internals book.

    Special Guest: Anthony Shaw.


    Links:




    ]]>
    Wed, 19 Feb 2020 01:00:00 -0700 Brian Okken Brian Okken 2711 Application security is best designed into a system from the start.
     Anthony Shaw is doing something about it by creating an editor plugin that actually helps you write more secure application code while you are coding.

    On today's Test & Code, Anthony and I discuss his security plugin, but also application security in general, as well as other security components you need to consider.

    Security is something every team needs to think about, whether you are a single person team, a small startup, or a large corporation.

    Anthony and I also discuss where to start if it's just a few of you, or even just one of you.

    Topics include:

    • Finding security risks while writing code.
    • What are the risks for your applications.
    • Thinking about attack surfaces.
    • Static and dynamic code analysis.
    • Securing the environment an app is running in.
    • Tools for scanning live sites for vulnerabilities.
    • Secret management.
    • Hashing algorithms.
    • Authentication systems.
    • and Anthony's upcoming cPython Internals book.

    Special Guest: Anthony Shaw.


    Links:




    ]]>
    application security No Brian Okken Anthony Shaw
    100: A/B Testing - Leemay Nassery 100 100 100: A/B Testing - Leemay Nassery full 280c370b-f921-499f-839c-0aa5a44fa7cb https://pythontest.com/testandcode/episodes/100-a-b-testing-leemay-nassery Let's say you have a web application and you want to make some changes to improve it.
     You may want to A/B test it first to make sure you are really improving things.

    But really what is A/B testing? 

    That's what we'll find out on this episode with Leemay Nassery.

    Special Guest: Leemay Nassery.





    ]]>
    Let's say you have a web application and you want to make some changes to improve it.
     You may want to A/B test it first to make sure you are really improving things.

    But really what is A/B testing? 

    That's what we'll find out on this episode with Leemay Nassery.

    Special Guest: Leemay Nassery.





    ]]>
    Thu, 13 Feb 2020 01:30:00 -0700 Brian Okken Brian Okken 2133 Let's say you have a web application and you want to make some changes to improve it.
     You may want to A/B test it first to make sure you are really improving things.

    But really what is A/B testing? 

    That's what we'll find out on this episode with Leemay Nassery.

    Special Guest: Leemay Nassery.





    ]]>
    A/B Testing No Brian Okken
    99: Software Maintenance and Chess 99 99 99: Software Maintenance and Chess full e0e4e4de-c700-4b69-b7bc-e6fade2376fb https://pythontest.com/testandcode/episodes/99-software-maintenance-and-chess I play a form of group chess that has some interesting analogies to software development and maintenance of existing systems. This episode explains group chess and explores a few of those analogies.





    ]]>
    I play a form of group chess that has some interesting analogies to software development and maintenance of existing systems. This episode explains group chess and explores a few of those analogies.





    ]]>
    Thu, 30 Jan 2020 16:45:00 -0700 Brian Okken Brian Okken 891 I play a form of group chess that has some interesting analogies to software development and maintenance of existing systems. This episode explains group chess and explores a few of those analogies.





    ]]>
    software maintenance, legacy systems No Brian Okken
    98: pytest-testmon - selects tests affected by changed files and methods - Tibor Arpas 98 98 98: pytest-testmon - selects tests affected by changed files and methods - Tibor Arpas full 34371047-6224-4127-b261-da936d60dca9 https://pythontest.com/testandcode/episodes/98-pytest-testmon-selects-tests-affected-by-changed-files-and-methods-tibor-arpas pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and comparing the dependencies against changes. testmon updates its database on each test execution, so it works independently of version control.

    In this episode, I talk with testmon creator Tibor Arpas about testmon, about it's use and how it works.

    Special Guest: Tibor Arpas.


    Links:

    ]]>
    pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and comparing the dependencies against changes. testmon updates its database on each test execution, so it works independently of version control.

    In this episode, I talk with testmon creator Tibor Arpas about testmon, about it's use and how it works.

    Special Guest: Tibor Arpas.


    Links:

    ]]>
    Tue, 21 Jan 2020 01:00:00 -0700 Brian Okken Brian Okken 1979 pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and comparing the dependencies against changes. testmon updates its database on each test execution, so it works independently of version control.

    In this episode, I talk with testmon creator Tibor Arpas about testmon, about it's use and how it works.

    Special Guest: Tibor Arpas.


    Links:

    ]]>
    pytest, plugins, optimization No Brian Okken
    97: 2019 Retrospective, 2020 Plans, and an amazing decade 97 97 97: 2019 Retrospective, 2020 Plans, and an amazing decade full 7e49cedf-c44e-486a-bb91-96b056250ade https://pythontest.com/testandcode/episodes/97-2019-retrospective-2020-plans-and-an-amazing-decade This episode is not just a look back on 2019, and a look forward to 2020.
     Also, 2019 is the end of an amazingly transofrmative decade for me, so I'm going to discuss that as well.

    top 10 episodes of 2019

    • 10: episode 46, Testing Hard To Test Applications - Anthony Shaw
    • 9: episode 64, Practicing Programming to increase your value
    • 8: episode 70, Learning Software without a CS degree - Dane Hillard
    • 7: episode 75, Modern Testing Principles - Alan Page
    • 6: episode 72, Technical Interview Fixes - April Wensel
    • 5: episode 69, Andy Hunt - The Pragmatic Programmer
    • 4: episode 73, PyCon 2019 Live Recording
    • 3: episode 71, Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko
    • 2: episode 76, TDD: Don’t be afraid of Test-Driven Development - Chris May
    • 1: episode 89, Improving Programming Education - Nicholas Tollervey

    Looking back on the last decade
    Some amazing events, like 2 podcasts, a book, a blog, speaking events, and teaching has led me to where we're at now.

    Looking forward to 2020 and beyond
    I discussed what's in store in the next year and moving forward.

    A closing quote
    Software is a blast. At least, it should be. 
    I want everyone to have fun writing software. 
    Leaning on automated tests is the best way I know to allow me confidence and freedome to:

    • rewrite big chunks of code
    • play with the code
    • try new things
    • have fun without fear
    • go home feeling good about what I did
    • be proud of my code I want everyone to have that.

    That's why I promote and teach automated testing.

    I hope you had an amazing decade. 
     And I wish you a productive and fun 2020 and the upcoming decade.
     If we work together and help eachother reach new heights, we can achieve some pretty amazing things


    Links:




    ]]>
    This episode is not just a look back on 2019, and a look forward to 2020.
     Also, 2019 is the end of an amazingly transofrmative decade for me, so I'm going to discuss that as well.

    top 10 episodes of 2019

    • 10: episode 46, Testing Hard To Test Applications - Anthony Shaw
    • 9: episode 64, Practicing Programming to increase your value
    • 8: episode 70, Learning Software without a CS degree - Dane Hillard
    • 7: episode 75, Modern Testing Principles - Alan Page
    • 6: episode 72, Technical Interview Fixes - April Wensel
    • 5: episode 69, Andy Hunt - The Pragmatic Programmer
    • 4: episode 73, PyCon 2019 Live Recording
    • 3: episode 71, Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko
    • 2: episode 76, TDD: Don’t be afraid of Test-Driven Development - Chris May
    • 1: episode 89, Improving Programming Education - Nicholas Tollervey

    Looking back on the last decade
    Some amazing events, like 2 podcasts, a book, a blog, speaking events, and teaching has led me to where we're at now.

    Looking forward to 2020 and beyond
    I discussed what's in store in the next year and moving forward.

    A closing quote
    Software is a blast. At least, it should be. 
    I want everyone to have fun writing software. 
    Leaning on automated tests is the best way I know to allow me confidence and freedome to:

    • rewrite big chunks of code
    • play with the code
    • try new things
    • have fun without fear
    • go home feeling good about what I did
    • be proud of my code I want everyone to have that.

    That's why I promote and teach automated testing.

    I hope you had an amazing decade. 
     And I wish you a productive and fun 2020 and the upcoming decade.
     If we work together and help eachother reach new heights, we can achieve some pretty amazing things


    Links:




    ]]>
    Tue, 31 Dec 2019 12:30:00 -0700 Brian Okken Brian Okken 1362 This episode is not just a look back on 2019, and a look forward to 2020.
     Also, 2019 is the end of an amazingly transofrmative decade for me, so I'm going to discuss that as well.

    top 10 episodes of 2019

    • 10: episode 46, Testing Hard To Test Applications - Anthony Shaw
    • 9: episode 64, Practicing Programming to increase your value
    • 8: episode 70, Learning Software without a CS degree - Dane Hillard
    • 7: episode 75, Modern Testing Principles - Alan Page
    • 6: episode 72, Technical Interview Fixes - April Wensel
    • 5: episode 69, Andy Hunt - The Pragmatic Programmer
    • 4: episode 73, PyCon 2019 Live Recording
    • 3: episode 71, Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko
    • 2: episode 76, TDD: Don’t be afraid of Test-Driven Development - Chris May
    • 1: episode 89, Improving Programming Education - Nicholas Tollervey

    Looking back on the last decade
    Some amazing events, like 2 podcasts, a book, a blog, speaking events, and teaching has led me to where we're at now.

    Looking forward to 2020 and beyond
    I discussed what's in store in the next year and moving forward.

    A closing quote
    Software is a blast. At least, it should be. 
    I want everyone to have fun writing software. 
    Leaning on automated tests is the best way I know to allow me confidence and freedome to:

    • rewrite big chunks of code
    • play with the code
    • try new things
    • have fun without fear
    • go home feeling good about what I did
    • be proud of my code I want everyone to have that.

    That's why I promote and teach automated testing.

    I hope you had an amazing decade. 
     And I wish you a productive and fun 2020 and the upcoming decade.
     If we work together and help eachother reach new heights, we can achieve some pretty amazing things


    Links:




    ]]>
    python, programming, software, testing, No Brian Okken
    96: Azure Pipelines - Thomas Eckert 96 96 96: Azure Pipelines - Thomas Eckert full e5f4955b-2c9d-4ca4-b2ea-1186dda3367a https://pythontest.com/testandcode/episodes/96-azure-pipelines-thomas-eckert Pipelines are used a lot in software projects to automated much of the work around build, test, deployment and more. Thomas Eckert talks with me about pipelines, specifically Azure Pipelines. Some of the history, and how we can use pipelines for modern Python projects.

    Special Guest: Thomas Eckert.


    Links:

    ]]>
    Pipelines are used a lot in software projects to automated much of the work around build, test, deployment and more. Thomas Eckert talks with me about pipelines, specifically Azure Pipelines. Some of the history, and how we can use pipelines for modern Python projects.

    Special Guest: Thomas Eckert.


    Links:

    ]]>
    Mon, 16 Dec 2019 09:45:00 -0700 Brian Okken Brian Okken 1570 Pipelines are used a lot in software projects to automated much of the work around build, test, deployment and more. Thomas Eckert talks with me about pipelines, specifically Azure Pipelines. Some of the history, and how we can use pipelines for modern Python projects.

    Special Guest: Thomas Eckert.


    Links:

    ]]>
    azure pipelines, build pipelines, automation, continuous integration, continuous deployment No Brian Okken
    95: Data Science Pipeline Testing with Great Expectations - Abe Gong 95 95 95: Data Science Pipeline Testing with Great Expectations - Abe Gong full 88e6260b-831f-4566-af22-5649b6580c64 https://pythontest.com/testandcode/episodes/95-data-science-pipeline-testing-with-great-expectations-abe-gong Data science and machine learning are affecting more of our lives every day. Decisions based on data science and machine learning are heavily dependent on the quality of the data, and the quality of the data pipeline.

    Some of the software in the pipeline can be tested to some extent with traditional testing tools, like pytest.

    But what about the data? The data entering the pipeline, and at various stages along the pipeline, should be validated.

    That's where pipeline tests come in.

    Pipeline tests are applied to data. Pipeline tests help you guard against upstream data changes and monitor data quality.

    Abe Gong and Superconductive are building an open source project called Great Expectations. It's a tool to help you build pipeline tests.

    This is quite an interesting idea, and I hope it gains traction and takes off.

    Special Guest: Abe Gong.


    Links:

    ]]>
    Data science and machine learning are affecting more of our lives every day. Decisions based on data science and machine learning are heavily dependent on the quality of the data, and the quality of the data pipeline.

    Some of the software in the pipeline can be tested to some extent with traditional testing tools, like pytest.

    But what about the data? The data entering the pipeline, and at various stages along the pipeline, should be validated.

    That's where pipeline tests come in.

    Pipeline tests are applied to data. Pipeline tests help you guard against upstream data changes and monitor data quality.

    Abe Gong and Superconductive are building an open source project called Great Expectations. It's a tool to help you build pipeline tests.

    This is quite an interesting idea, and I hope it gains traction and takes off.

    Special Guest: Abe Gong.


    Links:

    ]]>
    Sat, 30 Nov 2019 10:00:00 -0700 Brian Okken Brian Okken 1369 Data science and machine learning are affecting more of our lives every day. Decisions based on data science and machine learning are heavily dependent on the quality of the data, and the quality of the data pipeline.

    Some of the software in the pipeline can be tested to some extent with traditional testing tools, like pytest.

    But what about the data? The data entering the pipeline, and at various stages along the pipeline, should be validated.

    That's where pipeline tests come in.

    Pipeline tests are applied to data. Pipeline tests help you guard against upstream data changes and monitor data quality.

    Abe Gong and Superconductive are building an open source project called Great Expectations. It's a tool to help you build pipeline tests.

    This is quite an interesting idea, and I hope it gains traction and takes off.

    Special Guest: Abe Gong.


    Links:

    ]]>
    data pipelines, machine learning, data science, pipeline debt, pipeline tests, data engineering No Brian Okken
    94: The real 11 reasons I don't hire you - Charity Majors 94 94 94: The real 11 reasons I don't hire you - Charity Majors full 09a787b3-3004-499f-9700-caeb097cf76d https://pythontest.com/testandcode/episodes/94-the-real-11-reasons-i-dont-hire-you-charity-majors You've applied for a job, maybe lots of jobs.
     Depending on the company, you've gotta get through:

    • a resume review
    • a coding challange
    • a phone screen
    • maybe another code example
    • an in person interview

    If you get the job, and you enjoy the work, awesome, congratulations.

    If you don't get the job, it'd be really great to know why.

    Sometimes it isn't because you aren't a skilled engineer.

    What other reasons are there?

    Well, that's what we're talking about today.

    Charity Majors is the cofounder and CTO of Honeycomb.io, and we're going to talk about reasons for not hiring someone.

    This is a very informative episode both for people who job hunt in the future and for hiring managers and people on the interview team.

    Special Guest: Charity Majors.


    Links:

    ]]>
    You've applied for a job, maybe lots of jobs.
     Depending on the company, you've gotta get through:

    • a resume review
    • a coding challange
    • a phone screen
    • maybe another code example
    • an in person interview

    If you get the job, and you enjoy the work, awesome, congratulations.

    If you don't get the job, it'd be really great to know why.

    Sometimes it isn't because you aren't a skilled engineer.

    What other reasons are there?

    Well, that's what we're talking about today.

    Charity Majors is the cofounder and CTO of Honeycomb.io, and we're going to talk about reasons for not hiring someone.

    This is a very informative episode both for people who job hunt in the future and for hiring managers and people on the interview team.

    Special Guest: Charity Majors.


    Links:

    ]]>
    Mon, 18 Nov 2019 10:15:00 -0700 Brian Okken Brian Okken 2066 You've applied for a job, maybe lots of jobs.
     Depending on the company, you've gotta get through:

    • a resume review
    • a coding challange
    • a phone screen
    • maybe another code example
    • an in person interview

    If you get the job, and you enjoy the work, awesome, congratulations.

    If you don't get the job, it'd be really great to know why.

    Sometimes it isn't because you aren't a skilled engineer.

    What other reasons are there?

    Well, that's what we're talking about today.

    Charity Majors is the cofounder and CTO of Honeycomb.io, and we're going to talk about reasons for not hiring someone.

    This is a very informative episode both for people who job hunt in the future and for hiring managers and people on the interview team.

    Special Guest: Charity Majors.


    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    93: Software Testing, Book Writing, Teaching, Public Speaking, and PyCarolinas - Andy Knight 93 93 93: Software Testing, Book Writing, Teaching, Public Speaking, and PyCarolinas - Andy Knight full 23094a5e-61d8-409c-89d9-cfa1f26eaafe https://pythontest.com/testandcode/episodes/93-software-testing-book-writing-teaching-public-speaking-and-pycarolinas-andy-knight Andy Knight is the Automation Panda. 

    Andy Knight is passionate about software testing, and shares his passion through public speaking, writing on automationpanda.com, teaching as an adjunct professor, and now also through writing a book and organizing a new regional Python conference.

    Topics of this episode include:

    • Andy's book on software testing
    • Being an adjunct professor
    • Public speaking and preparing talk proposals 
      • including tips from Andy about proposals and preparing for talks
    • PyCarolinas

    Special Guest: Andy Knight.


    Links:

    ]]>
    Andy Knight is the Automation Panda. 

    Andy Knight is passionate about software testing, and shares his passion through public speaking, writing on automationpanda.com, teaching as an adjunct professor, and now also through writing a book and organizing a new regional Python conference.

    Topics of this episode include:

    • Andy's book on software testing
    • Being an adjunct professor
    • Public speaking and preparing talk proposals 
      • including tips from Andy about proposals and preparing for talks
    • PyCarolinas

    Special Guest: Andy Knight.


    Links:

    ]]>
    Wed, 30 Oct 2019 22:45:00 -0700 Brian Okken Brian Okken 1825 Andy Knight is the Automation Panda. 

    Andy Knight is passionate about software testing, and shares his passion through public speaking, writing on automationpanda.com, teaching as an adjunct professor, and now also through writing a book and organizing a new regional Python conference.

    Topics of this episode include:

    • Andy's book on software testing
    • Being an adjunct professor
    • Public speaking and preparing talk proposals 
      • including tips from Andy about proposals and preparing for talks
    • PyCarolinas

    Special Guest: Andy Knight.


    Links:

    ]]>
    Python, software testing, pytest, teaching, public speaking No Brian Okken
    92: 9 Steps to Crater Quality & Destroy Customer Satisfaction - Cristian Medina 92 92 92: 9 Steps to Crater Quality & Destroy Customer Satisfaction - Cristian Medina full 08d101a6-8cc5-4959-8bf7-5b57b0efe9c5 https://pythontest.com/testandcode/episodes/92-9-steps-to-crater-quality-destroy-customer-satisfaction-cristian-medina Cristian Medina wrote an article recently called "Test Engineering Anti-Patterns: Destroy Your Customer Satisfaction and Crater Your Quality By Using These 9 Easy Organizational Practices"

    Of course, it's sarcastic, and aims to highlight many problems with organizational practices that reduce software quality.

    The article doesn't go out of character, and only promotes the anti-patterns.
     However, in this interview, we discuss each point, and the corollary of what you really should do. At least, our perspectives.

    Here's the list of all the points discussed in the article and in this episode:

    1. Make the Test teams solely responsible for quality
    2. Require all tests to be automated before releasing
    3. Require 100% code coverage
    4. Isolate the Test organization from Development
    5. Measure the success of the process, not the product. 
      • Metrics, if rewarded, will always be gamed.
    6. Require granular projections from engineers
    7. Reward quick patching instead of solving
    8. Plan for today instead of tomorrow

    Special Guest: Cristian Medina.


    Links:

    ]]>
    Cristian Medina wrote an article recently called "Test Engineering Anti-Patterns: Destroy Your Customer Satisfaction and Crater Your Quality By Using These 9 Easy Organizational Practices"

    Of course, it's sarcastic, and aims to highlight many problems with organizational practices that reduce software quality.

    The article doesn't go out of character, and only promotes the anti-patterns.
     However, in this interview, we discuss each point, and the corollary of what you really should do. At least, our perspectives.

    Here's the list of all the points discussed in the article and in this episode:

    1. Make the Test teams solely responsible for quality
    2. Require all tests to be automated before releasing
    3. Require 100% code coverage
    4. Isolate the Test organization from Development
    5. Measure the success of the process, not the product. 
      • Metrics, if rewarded, will always be gamed.
    6. Require granular projections from engineers
    7. Reward quick patching instead of solving
    8. Plan for today instead of tomorrow

    Special Guest: Cristian Medina.


    Links:

    ]]>
    Sun, 20 Oct 2019 00:00:00 -0700 Brian Okken Brian Okken 2106 Cristian Medina wrote an article recently called "Test Engineering Anti-Patterns: Destroy Your Customer Satisfaction and Crater Your Quality By Using These 9 Easy Organizational Practices"

    Of course, it's sarcastic, and aims to highlight many problems with organizational practices that reduce software quality.

    The article doesn't go out of character, and only promotes the anti-patterns.
     However, in this interview, we discuss each point, and the corollary of what you really should do. At least, our perspectives.

    Here's the list of all the points discussed in the article and in this episode:

    1. Make the Test teams solely responsible for quality
    2. Require all tests to be automated before releasing
    3. Require 100% code coverage
    4. Isolate the Test organization from Development
    5. Measure the success of the process, not the product. 
      • Metrics, if rewarded, will always be gamed.
    6. Require granular projections from engineers
    7. Reward quick patching instead of solving
    8. Plan for today instead of tomorrow

    Special Guest: Cristian Medina.


    Links:

    ]]>
    software testing, management, sarcasm No Brian Okken
    91: Python 3.8 - there's a lot more new than most people are talking about 91 91 91: Python 3.8 - there's a lot more new than most people are talking about full f27bb820-798e-43bc-8cb4-c8a7498e4cc9 https://pythontest.com/testandcode/episodes/91-python-3-8-theres-a-lot-more-new-than-most-people-are-talking-about Python 3.8.0 final is live and ready to download.

    On todays episode, we're going to run through what's new, picking out the bits that I think are the most interesting and affect the most people, including

    • new language features
    • standard library changes
    • optimizations in 3.8

    Not just the big stuff everyone's already talking about. But also some little things that will make programming Python even more fun and easy.

    I'm excited about Python 3.8. And really, this episode is to my way to try to get you excited about it too.

    Links:

    ]]>
    Python 3.8.0 final is live and ready to download.

    On todays episode, we're going to run through what's new, picking out the bits that I think are the most interesting and affect the most people, including

    • new language features
    • standard library changes
    • optimizations in 3.8

    Not just the big stuff everyone's already talking about. But also some little things that will make programming Python even more fun and easy.

    I'm excited about Python 3.8. And really, this episode is to my way to try to get you excited about it too.

    Links:

    ]]>
    Wed, 16 Oct 2019 00:15:00 -0700 Brian Okken Brian Okken 1261 Python 3.8.0 final is live and ready to download.

    On todays episode, we're going to run through what's new, picking out the bits that I think are the most interesting and affect the most people, including

    • new language features
    • standard library changes
    • optimizations in 3.8

    Not just the big stuff everyone's already talking about. But also some little things that will make programming Python even more fun and easy.

    I'm excited about Python 3.8. And really, this episode is to my way to try to get you excited about it too.

    Links:

    ]]>
    Python No Brian Okken
    90: Dynamic Scope Fixtures in pytest 5.2 - Anthony Sottile 90 90 90: Dynamic Scope Fixtures in pytest 5.2 - Anthony Sottile full ddbe47b1-72d0-49d5-a430-fde4cc967ac0 https://pythontest.com/testandcode/episodes/90-dynamic-scope-fixtures-in-pytest-5-2-anthony-sottile pytest 5.2 was just released, and with it, a cool fun feature called dynamic scope fixtures. Anthony Sottile so tilly is one of the pytest core developers, so I thought it be fun to have Anthony describe this new feature for us.

    We also talk about parametrized testing and really what is fixture scope and then what is dynamic scope.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    pytest 5.2 was just released, and with it, a cool fun feature called dynamic scope fixtures. Anthony Sottile so tilly is one of the pytest core developers, so I thought it be fun to have Anthony describe this new feature for us.

    We also talk about parametrized testing and really what is fixture scope and then what is dynamic scope.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    Fri, 11 Oct 2019 00:00:00 -0700 Brian Okken Brian Okken 2040 pytest 5.2 was just released, and with it, a cool fun feature called dynamic scope fixtures. Anthony Sottile so tilly is one of the pytest core developers, so I thought it be fun to have Anthony describe this new feature for us.

    We also talk about parametrized testing and really what is fixture scope and then what is dynamic scope.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    pytest, fixtures, scope, parametrization No Brian Okken
    89: Improving Programming Education - Nicholas Tollervey 89 89 89: Improving Programming Education - Nicholas Tollervey full 42de0175-1eec-4a93-816a-1fe051c2a24e https://pythontest.com/testandcode/episodes/89-improving-programming-education-nicholas-tollervey Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.

    Special Guest: Nicholas Tollervey.

    Links:

    ]]>
    Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.

    Special Guest: Nicholas Tollervey.

    Links:

    ]]>
    Sat, 28 Sep 2019 00:00:00 -0700 Brian Okken Brian Okken 2520 Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.

    Special Guest: Nicholas Tollervey.

    Links:

    ]]>
    teaching, education, software development, programming, Python No Brian Okken
    88: Error Monitoring, Crash Reporting, Performance Monitoring - JD Trask 88 88 88: Error Monitoring, Crash Reporting, Performance Monitoring - JD Trask full cdd3e966-7f4f-45aa-a54a-4559d3377742 https://pythontest.com/testandcode/episodes/88-error-monitoring-crash-reporting-performance-monitoring-jd-trask Tools like error monitoring, crash reporting, and performance monitoring are tools to help you create a better user experience and are fast becoming crucial tools for web development and site reliability. But really what are they? And when do you need them?

    You've built a cool web app or service, and you want to make sure your customers have a great experience.

    You know I advocate for utilizing automated tests so you find bugs before your customers do. However, fast development lifecycles, and quickly reacting to customer needs is a good thing, and we all know that complete testing is not possible. That's why I firmly believe that site monitoring tools like logging, crash reporting, performance monitoring, etc are awesome for maintaining and improving user experience.

    John-Daniel Trask, JD, the CEO of Raygun, agreed to come on the show and let me ask all my questions about this whole field.

    Special Guest: John-Daniel Trask.

    ]]>
    Tools like error monitoring, crash reporting, and performance monitoring are tools to help you create a better user experience and are fast becoming crucial tools for web development and site reliability. But really what are they? And when do you need them?

    You've built a cool web app or service, and you want to make sure your customers have a great experience.

    You know I advocate for utilizing automated tests so you find bugs before your customers do. However, fast development lifecycles, and quickly reacting to customer needs is a good thing, and we all know that complete testing is not possible. That's why I firmly believe that site monitoring tools like logging, crash reporting, performance monitoring, etc are awesome for maintaining and improving user experience.

    John-Daniel Trask, JD, the CEO of Raygun, agreed to come on the show and let me ask all my questions about this whole field.

    Special Guest: John-Daniel Trask.

    ]]>
    Fri, 20 Sep 2019 21:45:00 -0700 Brian Okken Brian Okken 2897 Tools like error monitoring, crash reporting, and performance monitoring are tools to help you create a better user experience and are fast becoming crucial tools for web development and site reliability. But really what are they? And when do you need them?

    You've built a cool web app or service, and you want to make sure your customers have a great experience.

    You know I advocate for utilizing automated tests so you find bugs before your customers do. However, fast development lifecycles, and quickly reacting to customer needs is a good thing, and we all know that complete testing is not possible. That's why I firmly believe that site monitoring tools like logging, crash reporting, performance monitoring, etc are awesome for maintaining and improving user experience.

    John-Daniel Trask, JD, the CEO of Raygun, agreed to come on the show and let me ask all my questions about this whole field.

    Special Guest: John-Daniel Trask.

    ]]>
    crash reporting, error monitoring, real user monitoring, site reliability No Brian Okken
    87: Paths to Parametrization - from one test to many 87 87 87: Paths to Parametrization - from one test to many full 9589dce8-f557-4047-9ed8-b59f5438cde7 https://pythontest.com/testandcode/episodes/87-paths-to-parametrization-from-one-test-to-many There's a cool feature of pytest called parametrization.
    It's totally one of the superpowers of pytest.

    It's actually a handful of features, and there are a few ways to approach it.
    Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.

    Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.

    Links:

    ]]>
    There's a cool feature of pytest called parametrization.
    It's totally one of the superpowers of pytest.

    It's actually a handful of features, and there are a few ways to approach it.
    Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.

    Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.

    Links:

    ]]>
    Wed, 11 Sep 2019 00:00:00 -0700 Brian Okken Brian Okken 1142 There's a cool feature of pytest called parametrization.
    It's totally one of the superpowers of pytest.

    It's actually a handful of features, and there are a few ways to approach it.
    Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.

    Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.

    Links:

    ]]>
    pytest, parametrization No Brian Okken
    86: Teaching testing best practices with 4 testing maxims - Josh Peak 86 86 86: Teaching testing best practices with 4 testing maxims - Josh Peak full 2331f6e2-68ba-4169-85df-28e151e30099 https://pythontest.com/testandcode/episodes/86-teaching-testing-best-practices-with-4-testing-maxims-josh-peak You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache.

    Awesome.

    Now your colleagues want in on that super power and want to learn testing.

    How do you help them?

    That's where Josh Peak is. He's helping his team add testing to their workflow to boost their productivity.

    That's what we're talking about today on Test & Code.

    Josh walks us through 4 maxims of developing software tests that help grow your confidence and proficiency at test writing.

    Special Guest: Josh Peak.

    Links:

    ]]>
    You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache.

    Awesome.

    Now your colleagues want in on that super power and want to learn testing.

    How do you help them?

    That's where Josh Peak is. He's helping his team add testing to their workflow to boost their productivity.

    That's what we're talking about today on Test & Code.

    Josh walks us through 4 maxims of developing software tests that help grow your confidence and proficiency at test writing.

    Special Guest: Josh Peak.

    Links:

    ]]>
    Fri, 06 Sep 2019 08:00:00 -0700 Brian Okken Brian Okken 1361 You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache.

    Awesome.

    Now your colleagues want in on that super power and want to learn testing.

    How do you help them?

    That's where Josh Peak is. He's helping his team add testing to their workflow to boost their productivity.

    That's what we're talking about today on Test & Code.

    Josh walks us through 4 maxims of developing software tests that help grow your confidence and proficiency at test writing.

    Special Guest: Josh Peak.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    85: Speed Up Test Suites - Niklas Meinzer 85 85 85: Speed Up Test Suites - Niklas Meinzer full fbf9bd7b-e792-468b-862a-f29aa8561b9d https://pythontest.com/testandcode/episodes/85-speed-up-test-suites-niklas-meinzer Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.

    Software test suites grow from small quick suites at the beginning of a project to larger suites as we add tests, and the time to run the suites grows with it.

    Fortunately, pytest has many tricks up it's sleave to help shorten those test suite times.

    Niklas Meinzer is a software developer that recentely wrote an article on optimizing test suites. In this episode, I talk with Niklas about the optimization techniques discussed in the article and how they can apply to just about any project.

    Special Guest: Niklas Meinzer.

    Links:

    ]]>
    Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.

    Software test suites grow from small quick suites at the beginning of a project to larger suites as we add tests, and the time to run the suites grows with it.

    Fortunately, pytest has many tricks up it's sleave to help shorten those test suite times.

    Niklas Meinzer is a software developer that recentely wrote an article on optimizing test suites. In this episode, I talk with Niklas about the optimization techniques discussed in the article and how they can apply to just about any project.

    Special Guest: Niklas Meinzer.

    Links:

    ]]>
    Mon, 26 Aug 2019 10:45:00 -0700 Brian Okken Brian Okken 1593 Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.

    Software test suites grow from small quick suites at the beginning of a project to larger suites as we add tests, and the time to run the suites grows with it.

    Fortunately, pytest has many tricks up it's sleave to help shorten those test suite times.

    Niklas Meinzer is a software developer that recentely wrote an article on optimizing test suites. In this episode, I talk with Niklas about the optimization techniques discussed in the article and how they can apply to just about any project.

    Special Guest: Niklas Meinzer.

    Links:

    ]]>
    pytest, optimization, test suite No Brian Okken
    84: CircuitPython - Scott Shawcroft 84 84 84: CircuitPython - Scott Shawcroft full 54eb45d2-1c2f-48e7-a193-64d7bde4c178 https://pythontest.com/testandcode/episodes/84-circuitpython-scott-shawcroft Adafruit enables beginners to make amazing hardware/software projects.
    With CircuitPython, these projects can now use Python.

    The combination of Python's ease of use and Adafruit's super cool hardware and a focus on a successful beginner experience makes learning to write code that controls hardware super fun.

    In this episode, Scott Shawcroft, the project lead, talks about the past, present, and future of CircuitPython, and discusses the focus on the beginner.

    We also discuss contributing to the project, testing CircuitPython, and many of the cool projects and hardware boards that can use CircuitPython, and Blinka, a library to allow you to use "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython," including Raspberry Pi.

    Special Guest: Scott Shawcroft.

    Links:

    ]]>
    Adafruit enables beginners to make amazing hardware/software projects.
    With CircuitPython, these projects can now use Python.

    The combination of Python's ease of use and Adafruit's super cool hardware and a focus on a successful beginner experience makes learning to write code that controls hardware super fun.

    In this episode, Scott Shawcroft, the project lead, talks about the past, present, and future of CircuitPython, and discusses the focus on the beginner.

    We also discuss contributing to the project, testing CircuitPython, and many of the cool projects and hardware boards that can use CircuitPython, and Blinka, a library to allow you to use "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython," including Raspberry Pi.

    Special Guest: Scott Shawcroft.

    Links:

    ]]>
    Tue, 20 Aug 2019 00:00:00 -0700 Brian Okken Brian Okken 2152 Adafruit enables beginners to make amazing hardware/software projects.
    With CircuitPython, these projects can now use Python.

    The combination of Python's ease of use and Adafruit's super cool hardware and a focus on a successful beginner experience makes learning to write code that controls hardware super fun.

    In this episode, Scott Shawcroft, the project lead, talks about the past, present, and future of CircuitPython, and discusses the focus on the beginner.

    We also discuss contributing to the project, testing CircuitPython, and many of the cool projects and hardware boards that can use CircuitPython, and Blinka, a library to allow you to use "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython," including Raspberry Pi.

    Special Guest: Scott Shawcroft.

    Links:

    ]]>
    Python, hardware, CircuitPython, Adafruit No Brian Okken
    83: PyBites Code Challenges behind the scenes - Bob Belderbos 83 83 83: PyBites Code Challenges behind the scenes - Bob Belderbos full cace965b-5a24-429d-9cac-05268ce0a143 https://pythontest.com/testandcode/episodes/83-pybites-code-challenges-behind-the-scenes-bob-belderbos Bob Belderbos and Julian Sequeira started PyBites a few years ago.
    They started doing code challanges along with people around the world and writing about it.

    Then came the codechalleng.es platform, where you can do code challenges in the browser and have your answer checked by pytest tests. But how does it all work?

    Bob joins me today to go behind the scenes and share the tech stack running the PyBites Code Challenges platform.

    We talk about the technology, the testing, and how it went from a cool idea to a working platform.

    Special Guest: Bob Belderbos.

    Links:

    ]]>
    Bob Belderbos and Julian Sequeira started PyBites a few years ago.
    They started doing code challanges along with people around the world and writing about it.

    Then came the codechalleng.es platform, where you can do code challenges in the browser and have your answer checked by pytest tests. But how does it all work?

    Bob joins me today to go behind the scenes and share the tech stack running the PyBites Code Challenges platform.

    We talk about the technology, the testing, and how it went from a cool idea to a working platform.

    Special Guest: Bob Belderbos.

    Links:

    ]]>
    Fri, 16 Aug 2019 00:00:00 -0700 Brian Okken Brian Okken 1444 Bob Belderbos and Julian Sequeira started PyBites a few years ago.
    They started doing code challanges along with people around the world and writing about it.

    Then came the codechalleng.es platform, where you can do code challenges in the browser and have your answer checked by pytest tests. But how does it all work?

    Bob joins me today to go behind the scenes and share the tech stack running the PyBites Code Challenges platform.

    We talk about the technology, the testing, and how it went from a cool idea to a working platform.

    Special Guest: Bob Belderbos.

    Links:

    ]]>
    Python, web applications, Django, pytest, Selenium No Brian Okken
    82: pytest - favorite features since 3.0 - Anthony Sottile 82 82 82: pytest - favorite features since 3.0 - Anthony Sottile full 91e4986f-1120-42fd-be2c-70159fcb3262 https://pythontest.com/testandcode/episodes/82-pytest-favorite-features-since-3-0-anthony-sottile Anthony Sottile is a pytest core contributor, as well as a maintainer and contributor to
    many other projects. In this episode, Anthony shares some of the super cool features of pytest that have been added since he started using it.

    We also discuss Anthony's move from user to contributor, and how others can help with the pytest project.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    Anthony Sottile is a pytest core contributor, as well as a maintainer and contributor to
    many other projects. In this episode, Anthony shares some of the super cool features of pytest that have been added since he started using it.

    We also discuss Anthony's move from user to contributor, and how others can help with the pytest project.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    Wed, 31 Jul 2019 00:15:00 -0700 Brian Okken Brian Okken 2196 Anthony Sottile is a pytest core contributor, as well as a maintainer and contributor to
    many other projects. In this episode, Anthony shares some of the super cool features of pytest that have been added since he started using it.

    We also discuss Anthony's move from user to contributor, and how others can help with the pytest project.

    Special Guest: Anthony Sottile.

    Links:

    ]]>
    pytest No Brian Okken
    81: TDD with flit 81 81 81: TDD with flit full fc24063e-46db-46bc-b837-ae75891e2842 https://pythontest.com/testandcode/episodes/81-tdd-with-flit In the last episode, we talked about going from script to supported package.
    I worked on a project called subark and did the packaging with flit.

    Today's episode is a continuation where we add new features to a supported package and how to develop and test a flit based package.

    Covered:

    • viewing stages of a project with git tags
    • flit support for editable installs
    • flit description entry in pyproject.toml to put README on pypi.
    • development dependencies in pyproject.toml
    • editor layout for optimal TDD-ing
    • test case grouping
    • modifications to traditional TDD that helps me develop faster.

    code and command snippets from episode:

    For git checkout of versions:

    $ git clone https://github.com/okken/submark.git $ cd submark $ python3 -m venv venv --prompt submark $ source ./bin/activate (submark) $ git checkout v0.1 ... etc ... (submark) $ git checkout v0.7

    To grab the latest again:

    (submark) $ git checkout master

    pyproject.toml change for README to show up on pypi:

    [tool.flit.metadata] ... description-file = "README.md" ...

    Adding dev dependencies to pyproject.toml:

    [tool.flit.metadata.requires-extra] test = ["pytest", "pytest-cov", "tox"]

    Installing in editable mode (in top level repo directory). works in mac, linux, windows:

    (submark) $ flit install --pth-file

    or for mac/linux:

    (submark) $ flit install -s

    Links:

    ]]>
    In the last episode, we talked about going from script to supported package.
    I worked on a project called subark and did the packaging with flit.

    Today's episode is a continuation where we add new features to a supported package and how to develop and test a flit based package.

    Covered:

    • viewing stages of a project with git tags
    • flit support for editable installs
    • flit description entry in pyproject.toml to put README on pypi.
    • development dependencies in pyproject.toml
    • editor layout for optimal TDD-ing
    • test case grouping
    • modifications to traditional TDD that helps me develop faster.

    code and command snippets from episode:

    For git checkout of versions:

    $ git clone https://github.com/okken/submark.git $ cd submark $ python3 -m venv venv --prompt submark $ source ./bin/activate (submark) $ git checkout v0.1 ... etc ... (submark) $ git checkout v0.7

    To grab the latest again:

    (submark) $ git checkout master

    pyproject.toml change for README to show up on pypi:

    [tool.flit.metadata] ... description-file = "README.md" ...

    Adding dev dependencies to pyproject.toml:

    [tool.flit.metadata.requires-extra] test = ["pytest", "pytest-cov", "tox"]

    Installing in editable mode (in top level repo directory). works in mac, linux, windows:

    (submark) $ flit install --pth-file

    or for mac/linux:

    (submark) $ flit install -s

    Links:

    ]]>
    Wed, 17 Jul 2019 00:00:00 -0700 Brian Okken Brian Okken 1521 In the last episode, we talked about going from script to supported package.
    I worked on a project called subark and did the packaging with flit.

    Today's episode is a continuation where we add new features to a supported package and how to develop and test a flit based package.

    Covered:

    • viewing stages of a project with git tags
    • flit support for editable installs
    • flit description entry in pyproject.toml to put README on pypi.
    • development dependencies in pyproject.toml
    • editor layout for optimal TDD-ing
    • test case grouping
    • modifications to traditional TDD that helps me develop faster.

    code and command snippets from episode:

    For git checkout of versions:

    $ git clone https://github.com/okken/submark.git $ cd submark $ python3 -m venv venv --prompt submark $ source ./bin/activate (submark) $ git checkout v0.1 ... etc ... (submark) $ git checkout v0.7

    To grab the latest again:

    (submark) $ git checkout master

    pyproject.toml change for README to show up on pypi:

    [tool.flit.metadata] ... description-file = "README.md" ...

    Adding dev dependencies to pyproject.toml:

    [tool.flit.metadata.requires-extra] test = ["pytest", "pytest-cov", "tox"]

    Installing in editable mode (in top level repo directory). works in mac, linux, windows:

    (submark) $ flit install --pth-file

    or for mac/linux:

    (submark) $ flit install -s

    Links:

    ]]>
    TDD, flit, git, Python, pyproject.toml, submark No Brian Okken
    80: From Python script to Maintainable Package 80 80 80: From Python script to Maintainable Package full ed860ff6-11b7-49af-bf43-61c6f87a7d6b https://pythontest.com/testandcode/episodes/80-from-python-script-to-maintainable-package This episode is a story about packaging, and flit, tox, pytest, and coverage.
    And an alternate solution to "using the src".

    Python makes it easy to build simple tools for all kinds of tasks.
    And it's great to be able to share small projects with others on your team, in your company, or with the world.

    When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard.

    Also, the structure of the code layout changes to help with the growth and support.

    Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun.

    Here are the steps we walk through:

    • 0.1 Initial script and tests
    • 0.2 build wheel with flit
    • 0.3 build and test with tox
    • 0.4 move source module into a package directory
    • 0.5 move tests into tests directory

    Links:

    ]]>
    This episode is a story about packaging, and flit, tox, pytest, and coverage.
    And an alternate solution to "using the src".

    Python makes it easy to build simple tools for all kinds of tasks.
    And it's great to be able to share small projects with others on your team, in your company, or with the world.

    When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard.

    Also, the structure of the code layout changes to help with the growth and support.

    Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun.

    Here are the steps we walk through:

    • 0.1 Initial script and tests
    • 0.2 build wheel with flit
    • 0.3 build and test with tox
    • 0.4 move source module into a package directory
    • 0.5 move tests into tests directory

    Links:

    ]]>
    Thu, 04 Jul 2019 00:30:00 -0700 Brian Okken Brian Okken 1312 This episode is a story about packaging, and flit, tox, pytest, and coverage.
    And an alternate solution to "using the src".

    Python makes it easy to build simple tools for all kinds of tasks.
    And it's great to be able to share small projects with others on your team, in your company, or with the world.

    When you want to take a script from "just a script" to maintainable package, there are a few steps, but none of it's hard.

    Also, the structure of the code layout changes to help with the growth and support.

    Instead of just talking about this from memory, I thought it'd be fun to create a new project and walk through the steps, and report back in a kind of time lapse episode. It should be fun.

    Here are the steps we walk through:

    • 0.1 Initial script and tests
    • 0.2 build wheel with flit
    • 0.3 build and test with tox
    • 0.4 move source module into a package directory
    • 0.5 move tests into tests directory

    Links:

    ]]>
    Python, tox, flit, coverage, pytest No Brian Okken
    79: Fixing misinformation about software testing 79 79 79: Fixing misinformation about software testing full 46256dfb-3be5-419b-a4f9-7baa0fbad64f https://pythontest.com/testandcode/episodes/79-fixing-misinformation-about-software-testing Some information about software testing is just wrong.
    I'm not talking about opinions. I have lots of opinions and they differ from other peoples opinions. I'm talking about misinformation and old information that is no longer applicable.

    I've ran across a few lateley that I want to address.

    All of the following are wrong:

    1. Integrated tests can't work. I can prove it with wacky math.
    2. Tests have to be blazing fast or they won't get run.
    3. TDD is about design, not about testing.

    This episode discusses why these are wrong.

    Links:

    ]]>
    Some information about software testing is just wrong.
    I'm not talking about opinions. I have lots of opinions and they differ from other peoples opinions. I'm talking about misinformation and old information that is no longer applicable.

    I've ran across a few lateley that I want to address.

    All of the following are wrong:

    1. Integrated tests can't work. I can prove it with wacky math.
    2. Tests have to be blazing fast or they won't get run.
    3. TDD is about design, not about testing.

    This episode discusses why these are wrong.

    Links:

    ]]>
    Thu, 27 Jun 2019 02:30:00 -0700 Brian Okken Brian Okken 1358 Some information about software testing is just wrong.
    I'm not talking about opinions. I have lots of opinions and they differ from other peoples opinions. I'm talking about misinformation and old information that is no longer applicable.

    I've ran across a few lateley that I want to address.

    All of the following are wrong:

    1. Integrated tests can't work. I can prove it with wacky math.
    2. Tests have to be blazing fast or they won't get run.
    3. TDD is about design, not about testing.

    This episode discusses why these are wrong.

    Links:

    ]]>
    software testing, TDD, misinformation No Brian Okken
    78: I don't write tests because ... 78 78 78: I don't write tests because ... full f05ee1a6-4caa-4c27-a40f-df3dbbfeefa1 https://pythontest.com/testandcode/episodes/78-i-dont-write-tests-because Roadblocks to writing tests, and what to do about it.

    Some developers either don't write tests, or don't like writing tests.
    Why not? I love writing tests.
    In this episode we examine lots of roadblocks to testing, and start coming up with solutions for these.

    Links:

    ]]>
    Roadblocks to writing tests, and what to do about it.

    Some developers either don't write tests, or don't like writing tests.
    Why not? I love writing tests.
    In this episode we examine lots of roadblocks to testing, and start coming up with solutions for these.

    Links:

    ]]>
    Wed, 19 Jun 2019 00:15:00 -0700 Brian Okken Brian Okken 1842 Roadblocks to writing tests, and what to do about it.

    Some developers either don't write tests, or don't like writing tests.
    Why not? I love writing tests.
    In this episode we examine lots of roadblocks to testing, and start coming up with solutions for these.

    Links:

    ]]>
    software testing, TDD No Brian Okken
    77: Testing Complex Systems with Maintainable Test Suites 77 77 77: Testing Complex Systems with Maintainable Test Suites full e236a860-0c61-4db1-be75-0fceacf3fdb9 https://pythontest.com/testandcode/episodes/77-testing-complex-systems-with-maintainable-test-suites Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.

    • quick overview of what test instruments are
    • discussion of API and communication with instruments
    • techniques for shifting complexity out of test cases

    These techniques should apply to all test suites dealing with complex systems:

    • Creating test cases that are easy to read and debug and tell a story about what is being tested.
    • Pushing setup complexity into fixtures.
    • Pushing lengthy repetitive API call sets into helper functions.
    • Using stable, documented, interfaces.

    Links:

    ]]>
    Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.

    • quick overview of what test instruments are
    • discussion of API and communication with instruments
    • techniques for shifting complexity out of test cases

    These techniques should apply to all test suites dealing with complex systems:

    • Creating test cases that are easy to read and debug and tell a story about what is being tested.
    • Pushing setup complexity into fixtures.
    • Pushing lengthy repetitive API call sets into helper functions.
    • Using stable, documented, interfaces.

    Links:

    ]]>
    Tue, 11 Jun 2019 08:00:00 -0700 Brian Okken Brian Okken 1380 Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.

    • quick overview of what test instruments are
    • discussion of API and communication with instruments
    • techniques for shifting complexity out of test cases

    These techniques should apply to all test suites dealing with complex systems:

    • Creating test cases that are easy to read and debug and tell a story about what is being tested.
    • Pushing setup complexity into fixtures.
    • Pushing lengthy repetitive API call sets into helper functions.
    • Using stable, documented, interfaces.

    Links:

    ]]>
    software testing, hardware testing, test instruments, SCPI, VISA No Brian Okken
    76: TDD: Don’t be afraid of Test-Driven Development - Chris May 76 76 76: TDD: Don’t be afraid of Test-Driven Development - Chris May full d7b108b7-bada-4998-ab5a-c1b068ee05e5 https://pythontest.com/testandcode/episodes/76-tdd-don-t-be-afraid-of-test-driven-development-chris-may Test Driven Development, TDD, can be intimidating to try.
    Why is that? And how can we make it less scary?
    That's what this episode is about.

    Chris May is a Python developer and the co-founder of PyRVA, the Richmond Virginia Python group.
    In this episode, Chris shares his experience with adding testing and TDD to his work flow.

    I really enjoyed talking with Chris, and I think his story will help lots of people overcome testing anxiety.

    Special Guest: Chris May.

    Links:

    ]]>
    Test Driven Development, TDD, can be intimidating to try.
    Why is that? And how can we make it less scary?
    That's what this episode is about.

    Chris May is a Python developer and the co-founder of PyRVA, the Richmond Virginia Python group.
    In this episode, Chris shares his experience with adding testing and TDD to his work flow.

    I really enjoyed talking with Chris, and I think his story will help lots of people overcome testing anxiety.

    Special Guest: Chris May.

    Links:

    ]]>
    Wed, 29 May 2019 11:45:00 -0700 Brian Okken Brian Okken 2130 Test Driven Development, TDD, can be intimidating to try.
    Why is that? And how can we make it less scary?
    That's what this episode is about.

    Chris May is a Python developer and the co-founder of PyRVA, the Richmond Virginia Python group.
    In this episode, Chris shares his experience with adding testing and TDD to his work flow.

    I really enjoyed talking with Chris, and I think his story will help lots of people overcome testing anxiety.

    Special Guest: Chris May.

    Links:

    ]]>
    testing, TDD, test driven development No Brian Okken
    75: Modern Testing Principles - Alan Page 75 75 75: Modern Testing Principles - Alan Page full 4619b983-e93e-4bed-a4c9-aae94c921956 https://pythontest.com/testandcode/episodes/75-modern-testing-principles-alan-page Software testing, if done right, is done all the time, throughout the whole life of a software project. This is different than the verification and validation of a classical model of QA teams. It's more of a collaborative model that actually tries to help get great software out the door faster and iterate quicker.

    One of the people at the forefront of this push is Alan Page. Alan and his podcast cohost Brent Jensen tried to boil down what modern testing looks like in the Modern Testing Principles.

    I've got Alan here today, to talk about the principles, and also to talk about this transition from classical QA to testing specialists being embedded in software teams and then to software teams doing their own testing.

    But that only barely scratches the surface of what we cover. I think you'll learn a lot from this discussion.

    The seven principles of Modern Testing:

    1. Our priority is improving the business.
    2. We accelerate the team, and use models like Lean Thinking and the Theory of Constraints to help identify, prioritize and mitigate bottlenecks from the system.
    3. We are a force for continuous improvement, helping the team adapt and optimize in order to succeed, rather than providing a safety net to catch failures.
    4. We care deeply about the quality culture of our team, and we coach, lead, and nurture the team towards a more mature quality culture.
    5. We believe that the customer is the only one capable to judge and evaluate the quality of our product
    6. We use data extensively to deeply understand customer usage and then close the gaps between product hypotheses and business impact.
    7. We expand testing abilities and knowhow across the team; understanding that this may reduce (or eliminate) the need for a dedicated testing specialist.

    Special Guest: Alan Page.

    Links:

    ]]>
    Software testing, if done right, is done all the time, throughout the whole life of a software project. This is different than the verification and validation of a classical model of QA teams. It's more of a collaborative model that actually tries to help get great software out the door faster and iterate quicker.

    One of the people at the forefront of this push is Alan Page. Alan and his podcast cohost Brent Jensen tried to boil down what modern testing looks like in the Modern Testing Principles.

    I've got Alan here today, to talk about the principles, and also to talk about this transition from classical QA to testing specialists being embedded in software teams and then to software teams doing their own testing.

    But that only barely scratches the surface of what we cover. I think you'll learn a lot from this discussion.

    The seven principles of Modern Testing:

    1. Our priority is improving the business.
    2. We accelerate the team, and use models like Lean Thinking and the Theory of Constraints to help identify, prioritize and mitigate bottlenecks from the system.
    3. We are a force for continuous improvement, helping the team adapt and optimize in order to succeed, rather than providing a safety net to catch failures.
    4. We care deeply about the quality culture of our team, and we coach, lead, and nurture the team towards a more mature quality culture.
    5. We believe that the customer is the only one capable to judge and evaluate the quality of our product
    6. We use data extensively to deeply understand customer usage and then close the gaps between product hypotheses and business impact.
    7. We expand testing abilities and knowhow across the team; understanding that this may reduce (or eliminate) the need for a dedicated testing specialist.

    Special Guest: Alan Page.

    Links:

    ]]>
    Thu, 23 May 2019 00:00:00 -0700 Brian Okken Brian Okken 2401 Software testing, if done right, is done all the time, throughout the whole life of a software project. This is different than the verification and validation of a classical model of QA teams. It's more of a collaborative model that actually tries to help get great software out the door faster and iterate quicker.

    One of the people at the forefront of this push is Alan Page. Alan and his podcast cohost Brent Jensen tried to boil down what modern testing looks like in the Modern Testing Principles.

    I've got Alan here today, to talk about the principles, and also to talk about this transition from classical QA to testing specialists being embedded in software teams and then to software teams doing their own testing.

    But that only barely scratches the surface of what we cover. I think you'll learn a lot from this discussion.

    The seven principles of Modern Testing:

    1. Our priority is improving the business.
    2. We accelerate the team, and use models like Lean Thinking and the Theory of Constraints to help identify, prioritize and mitigate bottlenecks from the system.
    3. We are a force for continuous improvement, helping the team adapt and optimize in order to succeed, rather than providing a safety net to catch failures.
    4. We care deeply about the quality culture of our team, and we coach, lead, and nurture the team towards a more mature quality culture.
    5. We believe that the customer is the only one capable to judge and evaluate the quality of our product
    6. We use data extensively to deeply understand customer usage and then close the gaps between product hypotheses and business impact.
    7. We expand testing abilities and knowhow across the team; understanding that this may reduce (or eliminate) the need for a dedicated testing specialist.

    Special Guest: Alan Page.

    Links:

    ]]>
    software development, software testing, TDD, QA, automation No Brian Okken
    74: Technical Interviews: Preparing For, What to Expect, and Tips for Success - Derrick Mar 74 74 74: Technical Interviews: Preparing For, What to Expect, and Tips for Success - Derrick Mar full b4c95b6c-1282-4969-8cf4-a0bef1dab784 https://pythontest.com/testandcode/episodes/74-technical-interviews-preparing-for-what-to-expect-and-tips-for-success-derrick-mar In this episode, I talk with Derrick Mar, CTO and co-founder of Pathrise.
    This is the episode you need to listen to to get ready for software interviews.

    • We discuss four aspects of technical interviews that interviewers are looking for:

      • communication
      • problem solving
      • coding
      • verification
    • How to practice for the interview.

    • Techniques for synchronizing with interviewer and asking for hints.

    • Even how to ask the recruiter or hiring manager how to prepare for the interview.

    If you or anyone you know has a software interview coming up, this episode will help you both feel more comfortable about the interview before you show up, and give you concrete tips on how to do better during the interview.

    Special Guest: Derrick Mar.

    Links:

    ]]>
    In this episode, I talk with Derrick Mar, CTO and co-founder of Pathrise.
    This is the episode you need to listen to to get ready for software interviews.

    • We discuss four aspects of technical interviews that interviewers are looking for:

      • communication
      • problem solving
      • coding
      • verification
    • How to practice for the interview.

    • Techniques for synchronizing with interviewer and asking for hints.

    • Even how to ask the recruiter or hiring manager how to prepare for the interview.

    If you or anyone you know has a software interview coming up, this episode will help you both feel more comfortable about the interview before you show up, and give you concrete tips on how to do better during the interview.

    Special Guest: Derrick Mar.

    Links:

    ]]>
    Tue, 21 May 2019 00:00:00 -0700 Brian Okken Brian Okken 1627 In this episode, I talk with Derrick Mar, CTO and co-founder of Pathrise.
    This is the episode you need to listen to to get ready for software interviews.

    • We discuss four aspects of technical interviews that interviewers are looking for:

      • communication
      • problem solving
      • coding
      • verification
    • How to practice for the interview.

    • Techniques for synchronizing with interviewer and asking for hints.

    • Even how to ask the recruiter or hiring manager how to prepare for the interview.

    If you or anyone you know has a software interview coming up, this episode will help you both feel more comfortable about the interview before you show up, and give you concrete tips on how to do better during the interview.

    Special Guest: Derrick Mar.

    ]]>
    technical interviews, coding interviews, No Brian Okken
    73: PyCon 2019 Live Recording 73 73 73: PyCon 2019 Live Recording full 95e956dd-bb17-4e4a-afac-8586afba5dd9 https://pythontest.com/testandcode/episodes/73-pycon-2019-live-recording This is a "Yay! It's PyCon 2019" episode.
    PyCon is very important to me.
    But it's kinda hard to put a finger on why.
    So I figured I'd ask more people to help explain why it's important.
    I ask a few simple questions to people about Python and PyCon and get some great insights into both the language popularity and the special place this conference holds to many people.

    ]]>
    This is a "Yay! It's PyCon 2019" episode.
    PyCon is very important to me.
    But it's kinda hard to put a finger on why.
    So I figured I'd ask more people to help explain why it's important.
    I ask a few simple questions to people about Python and PyCon and get some great insights into both the language popularity and the special place this conference holds to many people.

    ]]>
    Fri, 03 May 2019 00:00:00 -0700 Brian Okken Brian Okken 1681 This is a "Yay! It's PyCon 2019" episode.
    PyCon is very important to me.
    But it's kinda hard to put a finger on why.
    So I figured I'd ask more people to help explain why it's important.
    I ask a few simple questions to people about Python and PyCon and get some great insights into both the language popularity and the special place this conference holds to many people.

    ]]>
    python, programming, software, testing, No Brian Okken
    72: Technical Interview Fixes - April Wensel 72 72 72: Technical Interview Fixes - April Wensel full d2ef87bc-7bf1-4848-b6ad-73bfa13ff4f6 https://pythontest.com/testandcode/episodes/72-technical-interview-fixes-april-wensel Some typical technical interview practices can be harmful and get in the way of hiring great people. April Wensel offers advice to help fix the technical interview process.

    She recommends:

    • hire for mindset and attitude
    • look for empathy and mentorship skills
    • allow candidates to show their strengths instead of hunting for weaknesses
    • have the candidate leave feeling good about themselves and your company, regardless of the hiring decision

    Some topics discussed:

    • interview questions to bring out stories of skills and successes
    • stereotype threat
    • diversity
    • interview hazing
    • white boards
    • coding challenges
    • unconscious bias
    • emotional intelligence
    • myth of talent shortage
    • pair programming and collaboration during interviews
    • mirrortocracy
    • cultural add vs cultural fit
    • empathy
    • mentoring

    This episode is important for anyone going into a technical interview, as a candidate, as a hiring manager, or as a member of an interview team.

    Special Guest: April Wensel.

    Links:

    ]]>
    Some typical technical interview practices can be harmful and get in the way of hiring great people. April Wensel offers advice to help fix the technical interview process.

    She recommends:

    • hire for mindset and attitude
    • look for empathy and mentorship skills
    • allow candidates to show their strengths instead of hunting for weaknesses
    • have the candidate leave feeling good about themselves and your company, regardless of the hiring decision

    Some topics discussed:

    • interview questions to bring out stories of skills and successes
    • stereotype threat
    • diversity
    • interview hazing
    • white boards
    • coding challenges
    • unconscious bias
    • emotional intelligence
    • myth of talent shortage
    • pair programming and collaboration during interviews
    • mirrortocracy
    • cultural add vs cultural fit
    • empathy
    • mentoring

    This episode is important for anyone going into a technical interview, as a candidate, as a hiring manager, or as a member of an interview team.

    Special Guest: April Wensel.

    Links:

    ]]>
    Mon, 29 Apr 2019 00:00:00 -0700 Brian Okken Brian Okken 2261 Some typical technical interview practices can be harmful and get in the way of hiring great people. April Wensel offers advice to help fix the technical interview process.

    She recommends:

    • hire for mindset and attitude
    • look for empathy and mentorship skills
    • allow candidates to show their strengths instead of hunting for weaknesses
    • have the candidate leave feeling good about themselves and your company, regardless of the hiring decision

    Some topics discussed:

    • interview questions to bring out stories of skills and successes
    • stereotype threat
    • diversity
    • interview hazing
    • white boards
    • coding challenges
    • unconscious bias
    • emotional intelligence
    • myth of talent shortage
    • pair programming and collaboration during interviews
    • mirrortocracy
    • cultural add vs cultural fit
    • empathy
    • mentoring

    This episode is important for anyone going into a technical interview, as a candidate, as a hiring manager, or as a member of an interview team.

    Special Guest: April Wensel.

    Links:

    ]]>
    technical interviews, coding interviews No Brian Okken
    71: Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko 71 71 71: Memorable Tech Talks, The Ultimate Guide - Nina Zakharenko full 33356221-2dde-4c16-a199-eba06aafcd0f https://pythontest.com/testandcode/episodes/71-memorable-tech-talks-the-ultimate-guide-nina-zakharenko Nina Zakharenko gives some great advice about giving tech talks.
    We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.

    Some of what we discuss:

    • overcoming the fear of public speaking
    • breathing and pausing during talks
    • planning your talk as well as planning your time to get ready for the talk
    • writing proposals and getting feedback on proposals
    • Nina's talk in PyCascades on programming Adafruit chips
    • types of talks that are often rejected
    • pre-recording demos to avoid live demo problems
    • why you should speak, even if you are an introvert
    • benefits of public speaking
    • a super cool announcement at the end

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    Nina Zakharenko gives some great advice about giving tech talks.
    We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.

    Some of what we discuss:

    • overcoming the fear of public speaking
    • breathing and pausing during talks
    • planning your talk as well as planning your time to get ready for the talk
    • writing proposals and getting feedback on proposals
    • Nina's talk in PyCascades on programming Adafruit chips
    • types of talks that are often rejected
    • pre-recording demos to avoid live demo problems
    • why you should speak, even if you are an introvert
    • benefits of public speaking
    • a super cool announcement at the end

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    Fri, 05 Apr 2019 00:00:00 -0700 Brian Okken Brian Okken 2913 Nina Zakharenko gives some great advice about giving tech talks.
    We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.

    Some of what we discuss:

    • overcoming the fear of public speaking
    • breathing and pausing during talks
    • planning your talk as well as planning your time to get ready for the talk
    • writing proposals and getting feedback on proposals
    • Nina's talk in PyCascades on programming Adafruit chips
    • types of talks that are often rejected
    • pre-recording demos to avoid live demo problems
    • why you should speak, even if you are an introvert
    • benefits of public speaking
    • a super cool announcement at the end

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    tech talks, public speaking No Brian Okken
    70: Learning Software without a CS degree - Dane Hillard 70 70 70: Learning Software without a CS degree - Dane Hillard full 4873086b-21a3-4b56-a529-ede5ba56a7d5 https://pythontest.com/testandcode/episodes/70-learning-software-without-a-cs-degree-dane-hillard Dane and Brian discuss skills needed for people that become software developers from non-traditional paths.

    Dane is also writing a book to address many of these skill gaps, Code Like a Pro, that's currently in an early access phase. Use code podtest&code19 to get a discount. And, sign up as a Friend of the Show to enter for a chance to win a free copy of the eBook version.

    We also discuss the writing process, testing with a multi-language stack, music, art, photography, and more.

    Special Guest: Dane Hillard.

    Links:

    ]]>
    Dane and Brian discuss skills needed for people that become software developers from non-traditional paths.

    Dane is also writing a book to address many of these skill gaps, Code Like a Pro, that's currently in an early access phase. Use code podtest&code19 to get a discount. And, sign up as a Friend of the Show to enter for a chance to win a free copy of the eBook version.

    We also discuss the writing process, testing with a multi-language stack, music, art, photography, and more.

    Special Guest: Dane Hillard.

    Links:

    ]]>
    Fri, 29 Mar 2019 09:00:00 -0700 Brian Okken Brian Okken 1837 Dane and Brian discuss skills needed for people that become software developers from non-traditional paths.

    Dane is also writing a book to address many of these skill gaps, Code Like a Pro, that's currently in an early access phase. Use code podtest&code19 to get a discount. And, sign up as a Friend of the Show to enter for a chance to win a free copy of the eBook version.

    We also discuss the writing process, testing with a multi-language stack, music, art, photography, and more.

    Special Guest: Dane Hillard.

    Links:

    ]]>
    software development, testing, learning No Brian Okken
    69: Andy Hunt - The Pragmatic Programmer 69 69 69: Andy Hunt - The Pragmatic Programmer full 7ce37fea-2146-4753-8cf9-2fc2ecf08039 https://pythontest.com/testandcode/episodes/69-andy-hunt-the-pragmatic-programmer Andy Hunt and Dave Thomas wrote the seminal software development book, The Pragmatic Programmer. Together they founded The Pragmatic Programmers and are well known as founders of the agile movement and authors of the Agile Manifesto. They founded the Pragmatic Bookshelf publishing business in 2003.

    The Pragmatic Bookshelf published it's most important book, in my opinion, in 2017 with the first pytest book available from any publisher.

    Topics:

    Special Guest: Andy Hunt.

    ]]>
    Andy Hunt and Dave Thomas wrote the seminal software development book, The Pragmatic Programmer. Together they founded The Pragmatic Programmers and are well known as founders of the agile movement and authors of the Agile Manifesto. They founded the Pragmatic Bookshelf publishing business in 2003.

    The Pragmatic Bookshelf published it's most important book, in my opinion, in 2017 with the first pytest book available from any publisher.

    Topics:

    Special Guest: Andy Hunt.

    ]]>
    Thu, 21 Mar 2019 10:00:00 -0700 Brian Okken Brian Okken 2915 Andy Hunt and Dave Thomas wrote the seminal software development book, The Pragmatic Programmer. Together they founded The Pragmatic Programmers and are well known as founders of the agile movement and authors of the Agile Manifesto. They founded the Pragmatic Bookshelf publishing business in 2003.

    The Pragmatic Bookshelf published it's most important book, in my opinion, in 2017 with the first pytest book available from any publisher.

    Topics:

    Special Guest: Andy Hunt.

    ]]>
    Pragmatic Programmer, Agile Manifesto, Agile, GROWS No Brian Okken
    68: test && commit || revert (TCR) - Thomas Deniffel 68 68 68: test && commit || revert (TCR) - Thomas Deniffel full 9ce0f59c-0ee1-4c46-9a55-d6ddddfc6dd2 https://pythontest.com/testandcode/episodes/68-test-commit-revert-tcr-thomas-deniffel With conventional TDD, you write a failing test, get it to pass, then refactor.
    Then run the tests again to make sure your refactoring didn't break anything.
    But what if it did break something?
    Kent Beck has been recommending to commit your code to revision control after every green test run.
    Oddmund Strømme suggested a symmetrical idea to go ahead and revert the code when a test fails.
    Kent writes that he hated the idea, but had to try it.
    Then wrote about it last September.
    And now we have TCR, "(test && commit) || revert".

    What's it feel like to actually do this?
    Well, Thomas Deniffel has been using it since about a month after that article came out.
    In this episode, we'll hear from Thomas about his experience with it.

    It's a fascinating idea. Have a listen and let me know what you think.

    Special Guest: Thomas Deniffel.

    Links:

    ]]>
    With conventional TDD, you write a failing test, get it to pass, then refactor.
    Then run the tests again to make sure your refactoring didn't break anything.
    But what if it did break something?
    Kent Beck has been recommending to commit your code to revision control after every green test run.
    Oddmund Strømme suggested a symmetrical idea to go ahead and revert the code when a test fails.
    Kent writes that he hated the idea, but had to try it.
    Then wrote about it last September.
    And now we have TCR, "(test && commit) || revert".

    What's it feel like to actually do this?
    Well, Thomas Deniffel has been using it since about a month after that article came out.
    In this episode, we'll hear from Thomas about his experience with it.

    It's a fascinating idea. Have a listen and let me know what you think.

    Special Guest: Thomas Deniffel.

    Links:

    ]]>
    Tue, 12 Mar 2019 21:45:00 -0700 Brian Okken Brian Okken 2304 With conventional TDD, you write a failing test, get it to pass, then refactor.
    Then run the tests again to make sure your refactoring didn't break anything.
    But what if it did break something?
    Kent Beck has been recommending to commit your code to revision control after every green test run.
    Oddmund Strømme suggested a symmetrical idea to go ahead and revert the code when a test fails.
    Kent writes that he hated the idea, but had to try it.
    Then wrote about it last September.
    And now we have TCR, "(test && commit) || revert".

    What's it feel like to actually do this?
    Well, Thomas Deniffel has been using it since about a month after that article came out.
    In this episode, we'll hear from Thomas about his experience with it.

    It's a fascinating idea. Have a listen and let me know what you think.

    Special Guest: Thomas Deniffel.

    Links:

    ]]>
    TDD, TCR, software testing, software development, unit tests No Brian Okken
    67: Teaching Python in Middle School 67 67 67: Teaching Python in Middle School full 7321f362-6256-43af-8638-60c6da0613d0 https://pythontest.com/testandcode/episodes/67-teaching-python-in-middle-school In today's episode we talk with Kelly Paredes & Sean Tibor.
    They teach Python in a middle school in Florida, and talk about this experience on the podcast "Teaching Python".

    I love that they include physical computing right from the start, and everything else they are doing.

    It's a fun interview.

    Special Guests: Kelly Paredes and Sean Tibor.

    Links:

    ]]>
    In today's episode we talk with Kelly Paredes & Sean Tibor.
    They teach Python in a middle school in Florida, and talk about this experience on the podcast "Teaching Python".

    I love that they include physical computing right from the start, and everything else they are doing.

    It's a fun interview.

    Special Guests: Kelly Paredes and Sean Tibor.

    Links:

    ]]>
    Thu, 28 Feb 2019 11:00:00 -0700 Brian Okken Brian Okken 2098 In today's episode we talk with Kelly Paredes & Sean Tibor.
    They teach Python in a middle school in Florida, and talk about this experience on the podcast "Teaching Python".

    I love that they include physical computing right from the start, and everything else they are doing.

    It's a fun interview.

    Special Guests: Kelly Paredes and Sean Tibor.

    Links:

    ]]>
    Python, teaching, physical computing No Brian Okken
    66: Brian is interviewed by Phil Burgess 66 66 66: Brian is interviewed by Phil Burgess full e557d6c3-d08b-47b9-8a7d-0ae84df62dc5 https://pythontest.com/testandcode/episodes/66-brian-is-interviewed-by-phil-burgess I was recently interviewed on a podcast called "IT Career Energizer Podcast".
    Phil Burgess is the host of the podcast, and it was a lot of fun.

    I think it turned out well, and I wanted to share it with you here, with Phil's permission, of course.

    Special Guest: Phil Burgess.

    Links:

    ]]>
    I was recently interviewed on a podcast called "IT Career Energizer Podcast".
    Phil Burgess is the host of the podcast, and it was a lot of fun.

    I think it turned out well, and I wanted to share it with you here, with Phil's permission, of course.

    Special Guest: Phil Burgess.

    Links:

    ]]>
    Tue, 26 Feb 2019 14:00:00 -0700 Brian Okken Brian Okken 1107 I was recently interviewed on a podcast called "IT Career Energizer Podcast".
    Phil Burgess is the host of the podcast, and it was a lot of fun.

    I think it turned out well, and I wanted to share it with you here, with Phil's permission, of course.

    Special Guest: Phil Burgess.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    65: one assert per test 65 65 65: one assert per test full 316cf4bc-1dd6-413b-ab7d-52984b824ad0 https://pythontest.com/testandcode/episodes/65-one-assert-per-test Is it ok to have more than one assert statement in a test?
    I've seen articles that say no, you should never have more than one assert.
    I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.

    Where did this recommendation even come from? What are the reasons?
    What are the downsides to both perspectives?

    That's what we're going to talk about today.

    Links:

    ]]>
    Is it ok to have more than one assert statement in a test?
    I've seen articles that say no, you should never have more than one assert.
    I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.

    Where did this recommendation even come from? What are the reasons?
    What are the downsides to both perspectives?

    That's what we're going to talk about today.

    Links:

    ]]>
    Sun, 17 Feb 2019 14:00:00 -0700 Brian Okken Brian Okken 1193 Is it ok to have more than one assert statement in a test?
    I've seen articles that say no, you should never have more than one assert.
    I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.

    Where did this recommendation even come from? What are the reasons?
    What are the downsides to both perspectives?

    That's what we're going to talk about today.

    Links:

    ]]>
    assert, software testing, automated testing, test structure, pytest, unittest No Brian Okken
    64: Practicing Programming to increase your value 64 64 64: Practicing Programming to increase your value full 52570c9e-7c55-4432-bb27-28135b5e7ccf https://pythontest.com/testandcode/episodes/64-practicing-programming-to-increase-your-value I want you to get the most out of being a software developer, or test engineer, or whatever you do that makes this podcast relevant to your life.

    By "get the most" I mean:

    • the most fun
    • the most value
    • more career options
    • probably more responsibility
    • maybe even more money, that'd be cool

    I want you to start (or continue) studying and practicing your skills.

    But not just random practice, I've got a strategy to help you focus what to study.

    Why am I talking about this now? Here's some background on how I re-learned how to have fun with code refactoring through code challenges.

    I'm going to write up the whole list as a blog post, which I'll share first with my Patreon Supporters, second with my email list and slack channel and then as an actual post somewhere.

    Links:

    ]]>
    I want you to get the most out of being a software developer, or test engineer, or whatever you do that makes this podcast relevant to your life.

    By "get the most" I mean:

    • the most fun
    • the most value
    • more career options
    • probably more responsibility
    • maybe even more money, that'd be cool

    I want you to start (or continue) studying and practicing your skills.

    But not just random practice, I've got a strategy to help you focus what to study.

    Why am I talking about this now? Here's some background on how I re-learned how to have fun with code refactoring through code challenges.

    I'm going to write up the whole list as a blog post, which I'll share first with my Patreon Supporters, second with my email list and slack channel and then as an actual post somewhere.

    Links:

    ]]>
    Thu, 07 Feb 2019 10:15:00 -0700 Brian Okken Brian Okken 1297 I want you to get the most out of being a software developer, or test engineer, or whatever you do that makes this podcast relevant to your life.

    By "get the most" I mean:

    • the most fun
    • the most value
    • more career options
    • probably more responsibility
    • maybe even more money, that'd be cool

    I want you to start (or continue) studying and practicing your skills.

    But not just random practice, I've got a strategy to help you focus what to study.

    Why am I talking about this now? Here's some background on how I re-learned how to have fun with code refactoring through code challenges.

    I'm going to write up the whole list as a blog post, which I'll share first with my Patreon Supporters, second with my email list and slack channel and then as an actual post somewhere.

    Links:

    ]]>
    programming, practice, code challenges, code kata, learning No Brian Okken
    63: Python Corporate Training - Matt Harrison 63 63 63: Python Corporate Training - Matt Harrison full 234931ac-4fab-4347-8eeb-1bfb29de7857 https://pythontest.com/testandcode/episodes/63-python-corporate-training-matt-harrison I hear and I forget.
    I see and I remember.
    I do and I understand.
    -- Confucius

    Matt Harrison is an author and instructor of Python and Data Science. This episode focuses on his training company, MetaSnake, and corporate training.

    Matt's written several books on Python, mostly self published. So of course we talk about that.

    But the bulk of the conversation is about corporate training, with Brian playing the role of someone considering starting a corporate training role, and asking Matt, an experienced expert in training, how to start and where to go from there.

    I think you'll learn a lot from this.

    Special Guest: Matt Harrison.

    Links:

    ]]>
    I hear and I forget.
    I see and I remember.
    I do and I understand.
    -- Confucius

    Matt Harrison is an author and instructor of Python and Data Science. This episode focuses on his training company, MetaSnake, and corporate training.

    Matt's written several books on Python, mostly self published. So of course we talk about that.

    But the bulk of the conversation is about corporate training, with Brian playing the role of someone considering starting a corporate training role, and asking Matt, an experienced expert in training, how to start and where to go from there.

    I think you'll learn a lot from this.

    Special Guest: Matt Harrison.

    Links:

    ]]>
    Thu, 31 Jan 2019 21:15:00 -0700 Brian Okken Brian Okken 2015 I hear and I forget.
    I see and I remember.
    I do and I understand.
    -- Confucius

    Matt Harrison is an author and instructor of Python and Data Science. This episode focuses on his training company, MetaSnake, and corporate training.

    Matt's written several books on Python, mostly self published. So of course we talk about that.

    But the bulk of the conversation is about corporate training, with Brian playing the role of someone considering starting a corporate training role, and asking Matt, an experienced expert in training, how to start and where to go from there.

    I think you'll learn a lot from this.

    Special Guest: Matt Harrison.

    Links:

    ]]>
    Python, corporate training, data science, machine learning No Brian Okken
    62: Python Training - Reuven Lerner 62 62 62: Python Training - Reuven Lerner full d3c6dab7-c571-4d8d-b912-1e340f555bdf https://pythontest.com/testandcode/episodes/62-python-training-reuven-lerner There are a lot of learning styles and a lot of ways to learn Python. If you started Python through a class at work, or through an online course, or maybe an email series, it's possibly you may have learned from Reuven Lerner.

    If your first encounter with pytest was reading an article in Linux Journal recently, that would be the writing of Reuven.

    Reuven Lerner teaches Python.

    This interview definitely falls into the category of talking with interesting people doing interesting things with Python.

    We talk about how incorporating testing into teaching can add a level of clarity to the interaction and help people duirng the learning process.

    I'm also fascinated by people who teach and train because it's a skill I'm trying to improve.

    Special Guest: Reuven Lerner.

    Links:

    ]]>
    There are a lot of learning styles and a lot of ways to learn Python. If you started Python through a class at work, or through an online course, or maybe an email series, it's possibly you may have learned from Reuven Lerner.

    If your first encounter with pytest was reading an article in Linux Journal recently, that would be the writing of Reuven.

    Reuven Lerner teaches Python.

    This interview definitely falls into the category of talking with interesting people doing interesting things with Python.

    We talk about how incorporating testing into teaching can add a level of clarity to the interaction and help people duirng the learning process.

    I'm also fascinated by people who teach and train because it's a skill I'm trying to improve.

    Special Guest: Reuven Lerner.

    Links:

    ]]>
    Sat, 12 Jan 2019 17:30:00 -0700 Brian Okken Brian Okken 1704 There are a lot of learning styles and a lot of ways to learn Python. If you started Python through a class at work, or through an online course, or maybe an email series, it's possibly you may have learned from Reuven Lerner.

    If your first encounter with pytest was reading an article in Linux Journal recently, that would be the writing of Reuven.

    Reuven Lerner teaches Python.

    This interview definitely falls into the category of talking with interesting people doing interesting things with Python.

    We talk about how incorporating testing into teaching can add a level of clarity to the interaction and help people duirng the learning process.

    I'm also fascinated by people who teach and train because it's a skill I'm trying to improve.

    Special Guest: Reuven Lerner.

    Links:

    ]]>
    training, teaching, Python, testing, exercises No Brian Okken
    A retrospective 61 61 A retrospective full c389e2bf-f256-4e2e-a27c-a56eb4704cb2 https://pythontest.com/testandcode/episodes/a-retrospective A look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.

    Top 5 episodes:

    1. 2: Pytest vs Unittest vs Nose
    2. 33: Katharine Jarmul - Testing in Data Science
    3. 18: Testing in Startups and Hiring Software Engineers with Joe Stump
    4. 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA
    5. 27: Mahmoud Hashemi : unit, integration, and system testing

    Honorable mention: 32: David Hussman - Agile vs Agility, Dude's Law, and more

    This episode also went through lots of:

    • what went well
    • what was lacking
    • what's next

    Please listen and let me know where I should take this podcast.

    ]]>
    A look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.

    Top 5 episodes:

    1. 2: Pytest vs Unittest vs Nose
    2. 33: Katharine Jarmul - Testing in Data Science
    3. 18: Testing in Startups and Hiring Software Engineers with Joe Stump
    4. 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA
    5. 27: Mahmoud Hashemi : unit, integration, and system testing

    Honorable mention: 32: David Hussman - Agile vs Agility, Dude's Law, and more

    This episode also went through lots of:

    • what went well
    • what was lacking
    • what's next

    Please listen and let me know where I should take this podcast.

    ]]>
    Mon, 31 Dec 2018 02:45:00 -0700 Brian Okken Brian Okken 1872 A look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.

    Top 5 episodes:

    1. 2: Pytest vs Unittest vs Nose
    2. 33: Katharine Jarmul - Testing in Data Science
    3. 18: Testing in Startups and Hiring Software Engineers with Joe Stump
    4. 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA
    5. 27: Mahmoud Hashemi : unit, integration, and system testing

    Honorable mention: 32: David Hussman - Agile vs Agility, Dude's Law, and more

    This episode also went through lots of:

    • what went well
    • what was lacking
    • what's next

    Please listen and let me know where I should take this podcast.

    ]]>
    retrospective No Brian Okken
    100 Days of Code - Julian Sequeira 60 60 100 Days of Code - Julian Sequeira full 85fc086c-2bc8-4d70-a798-03c55adc9707 https://pythontest.com/testandcode/episodes/100-days-of-code-julian-sequeira Julian Sequeira is Co-Founder of PyBit.es (a blog/platform created to teach and learn Python) and a Python Trainer at Talk Python Training.
    He's also a survivor of the 100DaysOfCode in Python Challenge.

    We talk about the 100 days challenge, about learning Python, and about how cool it is to learn within a community.

    Special Guest: Julian Sequeira.

    Links:

    ]]>
    Julian Sequeira is Co-Founder of PyBit.es (a blog/platform created to teach and learn Python) and a Python Trainer at Talk Python Training.
    He's also a survivor of the 100DaysOfCode in Python Challenge.

    We talk about the 100 days challenge, about learning Python, and about how cool it is to learn within a community.

    Special Guest: Julian Sequeira.

    Links:

    ]]>
    Fri, 28 Dec 2018 10:15:00 -0700 Brian Okken Brian Okken 2074 Julian Sequeira is Co-Founder of PyBit.es (a blog/platform created to teach and learn Python) and a Python Trainer at Talk Python Training.
    He's also a survivor of the 100DaysOfCode in Python Challenge.

    We talk about the 100 days challenge, about learning Python, and about how cool it is to learn within a community.

    Special Guest: Julian Sequeira.

    Links:

    ]]>
    100DaysOfCode, Python No Brian Okken
    Genesynth, nox, urllib3, & PyCascades - Thea Flowers 59 59 Genesynth, nox, urllib3, & PyCascades - Thea Flowers full 167dac95-3cc3-4144-bce3-991a9227b2ec https://pythontest.com/testandcode/episodes/genesynth-nox-urllib3-pycascades-thea-flowers Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware.

    Thea is the creator of Nox, the co-chair of PyCascades 2019, the lead maintainer of urllib3, and a member of the Python Packaging Authority and Packaging Working Group.

    Thea works on Google Cloud Platform's wonderful Developer Relations team where she works on API client libraries and community outreach.

    All of that is definitely cool enough. But she is also building a synthesiser based on Sega Genesis chips. So of course, that's where we'll start the conversation.

    Special Guest: Thea Flowers.

    Links:

    ]]>
    Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware.

    Thea is the creator of Nox, the co-chair of PyCascades 2019, the lead maintainer of urllib3, and a member of the Python Packaging Authority and Packaging Working Group.

    Thea works on Google Cloud Platform's wonderful Developer Relations team where she works on API client libraries and community outreach.

    All of that is definitely cool enough. But she is also building a synthesiser based on Sega Genesis chips. So of course, that's where we'll start the conversation.

    Special Guest: Thea Flowers.

    Links:

    ]]>
    Fri, 21 Dec 2018 09:00:00 -0700 Brian Okken Brian Okken 1866 Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware.

    Thea is the creator of Nox, the co-chair of PyCascades 2019, the lead maintainer of urllib3, and a member of the Python Packaging Authority and Packaging Working Group.

    Thea works on Google Cloud Platform's wonderful Developer Relations team where she works on API client libraries and community outreach.

    All of that is definitely cool enough. But she is also building a synthesiser based on Sega Genesis chips. So of course, that's where we'll start the conversation.

    Special Guest: Thea Flowers.

    Links:

    ]]>
    urllib3, nox, tox, Sega Genesis, PyCascades, hardware hacking No Brian Okken
    REST APIs, testing with Docker containers and pytest 58 58 REST APIs, testing with Docker containers and pytest full 65ba7b3b-e2d5-4263-ba8e-f70aade41c71 https://pythontest.com/testandcode/episodes/rest-apis-testing-with-docker-containers-and-pytest Let's say you've got a web application you need to test.
    It has a REST API that you want to use for testing.

    Can you use Python for this testing even if the application is written in some other language? Of course.
    Can you use pytest? duh. yes. what else?
    What if you want to spin up docker instances, get your app running in that, and run your tests against that environment?
    How would you use pytest to do that?
    Well, there, I'm not exactly sure. But I know someone who does.

    Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that.
    He's also got some great advice on utilizing code reviews across teams for test code, and a whole lot more.

    Special Guest: Dima Spivak.

    Links:

    ]]>
    Let's say you've got a web application you need to test.
    It has a REST API that you want to use for testing.

    Can you use Python for this testing even if the application is written in some other language? Of course.
    Can you use pytest? duh. yes. what else?
    What if you want to spin up docker instances, get your app running in that, and run your tests against that environment?
    How would you use pytest to do that?
    Well, there, I'm not exactly sure. But I know someone who does.

    Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that.
    He's also got some great advice on utilizing code reviews across teams for test code, and a whole lot more.

    Special Guest: Dima Spivak.

    Links:

    ]]>
    Fri, 14 Dec 2018 00:00:00 -0700 Brian Okken Brian Okken 1690 Let's say you've got a web application you need to test.
    It has a REST API that you want to use for testing.

    Can you use Python for this testing even if the application is written in some other language? Of course.
    Can you use pytest? duh. yes. what else?
    What if you want to spin up docker instances, get your app running in that, and run your tests against that environment?
    How would you use pytest to do that?
    Well, there, I'm not exactly sure. But I know someone who does.

    Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that.
    He's also got some great advice on utilizing code reviews across teams for test code, and a whole lot more.

    Special Guest: Dima Spivak.

    Links:

    ]]>
    pytest, REST, API, web, Docker, fixtures No Brian Okken
    What is Data Science? - Vicki Boykis 57 57 What is Data Science? - Vicki Boykis full c037ef57-1622-4601-b3f8-8aefdfdc5d5d https://pythontest.com/testandcode/episodes/what-is-data-science-vicki-boykis Data science, data engineering, data analysis, and machine learning are part of the recent massive growth of Python.

    But really what is data science?

    Vicki Boykis helps me understand questions like:

    • No really, what is data science?
    • What does a data pipeline look like?
    • What is it like to do data science, data analysis, data engineering?
    • Can you do analysis on a laptop?
    • How big does data have to be to be considered big?
    • What are the challenges in data science?
    • Does it make sense for software engineers to learn data engineering, data science, pipelines, etc?
    • How could someone start learning data science?

    Also covered:

    • A type work (analysis) vs B type work (building)
    • data lakes and data swamps
    • predictive models
    • data cleaning
    • development vs experimentation
    • Jupyter Notebooks
    • Kaggle
    • ETL pipelines

    I learned a lot about the broad field of data science from talking with Vicki.

    Special Guest: Vicki Boykis.

    Links:

    ]]>
    Data science, data engineering, data analysis, and machine learning are part of the recent massive growth of Python.

    But really what is data science?

    Vicki Boykis helps me understand questions like:

    • No really, what is data science?
    • What does a data pipeline look like?
    • What is it like to do data science, data analysis, data engineering?
    • Can you do analysis on a laptop?
    • How big does data have to be to be considered big?
    • What are the challenges in data science?
    • Does it make sense for software engineers to learn data engineering, data science, pipelines, etc?
    • How could someone start learning data science?

    Also covered:

    • A type work (analysis) vs B type work (building)
    • data lakes and data swamps
    • predictive models
    • data cleaning
    • development vs experimentation
    • Jupyter Notebooks
    • Kaggle
    • ETL pipelines

    I learned a lot about the broad field of data science from talking with Vicki.

    Special Guest: Vicki Boykis.

    Links:

    ]]>
    Tue, 11 Dec 2018 00:45:00 -0700 Brian Okken Brian Okken 1848 Data science, data engineering, data analysis, and machine learning are part of the recent massive growth of Python.

    But really what is data science?

    Vicki Boykis helps me understand questions like:

    • No really, what is data science?
    • What does a data pipeline look like?
    • What is it like to do data science, data analysis, data engineering?
    • Can you do analysis on a laptop?
    • How big does data have to be to be considered big?
    • What are the challenges in data science?
    • Does it make sense for software engineers to learn data engineering, data science, pipelines, etc?
    • How could someone start learning data science?

    Also covered:

    • A type work (analysis) vs B type work (building)
    • data lakes and data swamps
    • predictive models
    • data cleaning
    • development vs experimentation
    • Jupyter Notebooks
    • Kaggle
    • ETL pipelines

    I learned a lot about the broad field of data science from talking with Vicki.

    Special Guest: Vicki Boykis.

    Links:

    ]]>
    data science, data engineering, machine learning, software engineering, data pipelines, ETL No Brian Okken
    Being a Guest on a Podcast - Michael Kennedy 56 56 Being a Guest on a Podcast - Michael Kennedy full acf912d0-2028-458d-87b6-ccd77a5940ff https://pythontest.com/testandcode/episodes/being-a-guest-on-a-podcast-michael-kennedy Michael Kennedy of Talk Python and Python Bytes fame joins Brian to talk about being a great guest and what to expect.

    Even if you have never wanted to be on a podcast, you might learn some great tips. A few of the things we talk about will be helpful for other endeavors, like public speaking, guest blog posts, look for unsolicited job opportunities.

    Some people have never been on a podcast before, and are possibly freaked out about some of the unknowns of being on a podcast. That's why we did this episode.

    Michael and I discuss a bunch of the niggly details so that you can be relaxed and know what to expect.

    Topics include:

    • If you want to be on a podcast
      • How to stand out and be someone a podcast would want to have on a show.
      • How to suggest yourself as a guest and the topic you want to discuss.
      • Picking a topic for a podcast
    • What to do before the show to prepare
      • Helping the host out with some information
      • Some hardware (not much)
      • Some software (all free)
      • Sending info like bio, headshot, links, etc.
      • What to expect the host or show to do before the recording.
      • Where to record
      • Sketching out some show topics with the host, maybe on a shared document.
    • What to expect and do
      • Right before the show
      • During the conversation
      • After the recording
      • When it goes live (help promote it)

    Special Guest: Michael Kennedy.

    ]]>
    Michael Kennedy of Talk Python and Python Bytes fame joins Brian to talk about being a great guest and what to expect.

    Even if you have never wanted to be on a podcast, you might learn some great tips. A few of the things we talk about will be helpful for other endeavors, like public speaking, guest blog posts, look for unsolicited job opportunities.

    Some people have never been on a podcast before, and are possibly freaked out about some of the unknowns of being on a podcast. That's why we did this episode.

    Michael and I discuss a bunch of the niggly details so that you can be relaxed and know what to expect.

    Topics include:

    • If you want to be on a podcast
      • How to stand out and be someone a podcast would want to have on a show.
      • How to suggest yourself as a guest and the topic you want to discuss.
      • Picking a topic for a podcast
    • What to do before the show to prepare
      • Helping the host out with some information
      • Some hardware (not much)
      • Some software (all free)
      • Sending info like bio, headshot, links, etc.
      • What to expect the host or show to do before the recording.
      • Where to record
      • Sketching out some show topics with the host, maybe on a shared document.
    • What to expect and do
      • Right before the show
      • During the conversation
      • After the recording
      • When it goes live (help promote it)

    Special Guest: Michael Kennedy.

    ]]>
    Fri, 07 Dec 2018 00:15:00 -0700 Brian Okken Brian Okken 2236 Michael Kennedy of Talk Python and Python Bytes fame joins Brian to talk about being a great guest and what to expect.

    Even if you have never wanted to be on a podcast, you might learn some great tips. A few of the things we talk about will be helpful for other endeavors, like public speaking, guest blog posts, look for unsolicited job opportunities.

    Some people have never been on a podcast before, and are possibly freaked out about some of the unknowns of being on a podcast. That's why we did this episode.

    Michael and I discuss a bunch of the niggly details so that you can be relaxed and know what to expect.

    Topics include:

    • If you want to be on a podcast
      • How to stand out and be someone a podcast would want to have on a show.
      • How to suggest yourself as a guest and the topic you want to discuss.
      • Picking a topic for a podcast
    • What to do before the show to prepare
      • Helping the host out with some information
      • Some hardware (not much)
      • Some software (all free)
      • Sending info like bio, headshot, links, etc.
      • What to expect the host or show to do before the recording.
      • Where to record
      • Sketching out some show topics with the host, maybe on a shared document.
    • What to expect and do
      • Right before the show
      • During the conversation
      • After the recording
      • When it goes live (help promote it)

    Special Guest: Michael Kennedy.

    ]]>
    podcasting, guest No Brian Okken Michael Kennedy
    55: When 100% test coverage just isn't enough - Mahmoud Hashemi 55 55 55: When 100% test coverage just isn't enough - Mahmoud Hashemi full 7a8380bf-341d-405a-92fc-91819198cbab https://pythontest.com/testandcode/episodes/55-when-100-test-coverage-just-isnt-enough-mahmoud-hashemi What happens when 100% test code coverage just isn't enough.
    In this episode, we talk with Mahmoud Hashemi about glom, a very cool project in itself, but a project that needs more coverage than 100%.
    This problem affects lots of projects that use higher level programming constructs, like domain specific languages (DSLs), sub languages mini languages, compilers, and db query languages.

    Also covered:

    • awesome Python applications
    • versioning: 0-ver vs calver vs semver

    Special Guest: Mahmoud Hashemi.

    Links:

    ]]>
    What happens when 100% test code coverage just isn't enough.
    In this episode, we talk with Mahmoud Hashemi about glom, a very cool project in itself, but a project that needs more coverage than 100%.
    This problem affects lots of projects that use higher level programming constructs, like domain specific languages (DSLs), sub languages mini languages, compilers, and db query languages.

    Also covered:

    • awesome Python applications
    • versioning: 0-ver vs calver vs semver

    Special Guest: Mahmoud Hashemi.

    Links:

    ]]>
    Mon, 03 Dec 2018 01:00:00 -0700 Brian Okken Brian Okken 2048 What happens when 100% test code coverage just isn't enough.
    In this episode, we talk with Mahmoud Hashemi about glom, a very cool project in itself, but a project that needs more coverage than 100%.
    This problem affects lots of projects that use higher level programming constructs, like domain specific languages (DSLs), sub languages mini languages, compilers, and db query languages.

    Also covered:

    • awesome Python applications
    • versioning: 0-ver vs calver vs semver

    Special Guest: Mahmoud Hashemi.

    Links:

    ]]>
    awesome Python applications, Python testing, DSL software testing No Brian Okken
    54: Python 1994 - Paul Everitt 54 54 54: Python 1994 - Paul Everitt full 11f1d5f3-2d83-42be-978e-56972f575ef9 https://pythontest.com/testandcode/episodes/54-python-1994-paul-everitt Paul talks about the beginning years of Python.
    Talking about Python's beginnings is also talking about the Python community beginnings.
    Yes, it's reminiscing, but it's fun.

    Special Guest: Paul Everitt.

    Links:

    ]]>
    Paul talks about the beginning years of Python.
    Talking about Python's beginnings is also talking about the Python community beginnings.
    Yes, it's reminiscing, but it's fun.

    Special Guest: Paul Everitt.

    Links:

    ]]>
    Sun, 25 Nov 2018 12:30:00 -0700 Brian Okken Brian Okken 1765 Paul talks about the beginning years of Python.
    Talking about Python's beginnings is also talking about the Python community beginnings.
    Yes, it's reminiscing, but it's fun.

    Special Guest: Paul Everitt.

    Links:

    ]]>
    Python No Brian Okken
    53: Seven Databases in Seven Weeks - Luc Perkins 53 53 53: Seven Databases in Seven Weeks - Luc Perkins full b9df12f7-b65d-4b39-a961-c2e3f4a05a14 https://pythontest.com/testandcode/episodes/53-seven-databases-in-seven-weeks-luc-perkins Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."

    We discuss a bit about each database: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB.

    Special Guest: Luc Perkins.

    Links:

    ]]>
    Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."

    We discuss a bit about each database: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB.

    Special Guest: Luc Perkins.

    Links:

    ]]>
    Sun, 18 Nov 2018 23:30:00 -0700 Brian Okken Brian Okken 3286 Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."

    We discuss a bit about each database: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB.

    Special Guest: Luc Perkins.

    Links:

    ]]>
    databases No Brian Okken
    52: pyproject.toml : the future of Python packaging - Brett Cannon 52 52 52: pyproject.toml : the future of Python packaging - Brett Cannon full b655e7ca-1664-4ffe-86aa-c8b86aeec8db https://pythontest.com/testandcode/episodes/52-pyproject-toml-the-future-of-python-packaging-brett-cannon Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"

    Discussed:

    • flit
    • Poetry
    • tox
    • Continuous Integration
    • setup.py, MANIFEST.in, etc.
    • pipenv
    • what's with lock files
    • applications (doesn't go on PyPI) vs libraries (goes on PyPI)
    • workflows
    • dependency resolution
    • deployment dependencies vs development dependencies
    • will lock files be standarized
    • multiple lock files
    • requirements.txt

    Special Guest: Brett Cannon.

    Links:

    ]]>
    Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"

    Discussed:

    • flit
    • Poetry
    • tox
    • Continuous Integration
    • setup.py, MANIFEST.in, etc.
    • pipenv
    • what's with lock files
    • applications (doesn't go on PyPI) vs libraries (goes on PyPI)
    • workflows
    • dependency resolution
    • deployment dependencies vs development dependencies
    • will lock files be standarized
    • multiple lock files
    • requirements.txt

    Special Guest: Brett Cannon.

    Links:

    ]]>
    Mon, 05 Nov 2018 12:15:00 -0700 Brian Okken Brian Okken 3052 Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"

    Discussed:

    • flit
    • Poetry
    • tox
    • Continuous Integration
    • setup.py, MANIFEST.in, etc.
    • pipenv
    • what's with lock files
    • applications (doesn't go on PyPI) vs libraries (goes on PyPI)
    • workflows
    • dependency resolution
    • deployment dependencies vs development dependencies
    • will lock files be standarized
    • multiple lock files
    • requirements.txt

    Special Guest: Brett Cannon.

    Links:

    ]]>
    Python packaging, pyproject.toml, tox, CI, pipenv, lock files, poetry, flit, No Brian Okken
    51: Feature Testing 51 51 51: Feature Testing full 6713365b-48ca-40ad-9e89-030c27076d96 https://pythontest.com/testandcode/episodes/51-feature-testing Andy Knight joins me in discussing the concept of feature testing.

    A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it.

    Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often.

    The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something.

    Special Guest: Andy Knight.

    Links:

    ]]>
    Andy Knight joins me in discussing the concept of feature testing.

    A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it.

    Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often.

    The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something.

    Special Guest: Andy Knight.

    Links:

    ]]>
    Tue, 30 Oct 2018 08:30:00 -0700 Brian Okken Brian Okken 1896 Andy Knight joins me in discussing the concept of feature testing.

    A feature tests is "a test verifying a service or library as the customer would use it, but within a single process." That was a quote from an article that appeared on the Twitter engineering blog. The article describes a shift away from class tests towards feature tests, the benefits of the shift, and some reactions to it.

    Feature tests are similar to something I used to call "functional subcutaneous integration test", but it's a way better name, and I plan to use it more often.

    The idea fits well with my testing philosophy. Andy Knight is someone still holding onto the testing pyramid. So I thought it would be fun to ask him to discuss feature testing with me. I think it's a balanced discussion. I hope you enjoy it and learn something.

    Special Guest: Andy Knight.

    Links:

    ]]>
    feature testing, testing pyramid, software testing No Brian Okken
    50: Flaky Tests and How to Deal with Them 50 50 50: Flaky Tests and How to Deal with Them full 5104e2ba-c27e-4e62-b4bd-6105291880d9 https://pythontest.com/testandcode/episodes/50-flaky-tests-and-how-to-deal-with-them Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.

    • What are flaky tests?
    • Is it the same as fragile tests?
    • Why are they bad?
    • How do we deal with them?
    • What causes flakiness?
    • How can we fix them?
    • How can we avoid them?
    • Proactively rooting out flakiness
    • Test design
    • GUI tests
    • Sharing solutions

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.

    • What are flaky tests?
    • Is it the same as fragile tests?
    • Why are they bad?
    • How do we deal with them?
    • What causes flakiness?
    • How can we fix them?
    • How can we avoid them?
    • Proactively rooting out flakiness
    • Test design
    • GUI tests
    • Sharing solutions

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    Thu, 25 Oct 2018 00:15:00 -0700 Brian Okken Brian Okken 1941 Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.

    • What are flaky tests?
    • Is it the same as fragile tests?
    • Why are they bad?
    • How do we deal with them?
    • What causes flakiness?
    • How can we fix them?
    • How can we avoid them?
    • Proactively rooting out flakiness
    • Test design
    • GUI tests
    • Sharing solutions

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    software testing, selenium, pytest, test design, continuous integration No Brian Okken
    49: tox - Oliver Bestwalter 49 49 49: tox - Oliver Bestwalter full 6adb50a2-9bd3-4f32-835d-85c515acfb53 https://pythontest.com/testandcode/episodes/49-tox-oliver-bestwalter tox is a simple yet powerful tool that is used by many Python projects.

    tox is not just a tool to help you test a Python project against multiple versions of Python. In this interview, Oliver and Brian just scratch the surface of this simple yet powerful automation tool.

    This is from the tox documentation:

    tox is a generic virtualenv management and test command line tool you can use for:

    • checking your package installs correctly with different Python versions and interpreters
    • running your tests in each of the environments, configuring your test tool of choice
    • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

    Yet tox is so much more. It can help create development environments, hold all of your admin scripts, ...

    I hope you enjoy this wonderful discussion of tox with Oliver Bestwalter, one of the core maintainers of tox.

    Special Guest: Oliver Bestwalter.

    Links:

    ]]>
    tox is a simple yet powerful tool that is used by many Python projects.

    tox is not just a tool to help you test a Python project against multiple versions of Python. In this interview, Oliver and Brian just scratch the surface of this simple yet powerful automation tool.

    This is from the tox documentation:

    tox is a generic virtualenv management and test command line tool you can use for:

    • checking your package installs correctly with different Python versions and interpreters
    • running your tests in each of the environments, configuring your test tool of choice
    • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

    Yet tox is so much more. It can help create development environments, hold all of your admin scripts, ...

    I hope you enjoy this wonderful discussion of tox with Oliver Bestwalter, one of the core maintainers of tox.

    Special Guest: Oliver Bestwalter.

    Links:

    ]]>
    Mon, 15 Oct 2018 09:30:00 -0700 Brian Okken Brian Okken 3342 tox is a simple yet powerful tool that is used by many Python projects.

    tox is not just a tool to help you test a Python project against multiple versions of Python. In this interview, Oliver and Brian just scratch the surface of this simple yet powerful automation tool.

    This is from the tox documentation:

    tox is a generic virtualenv management and test command line tool you can use for:

    • checking your package installs correctly with different Python versions and interpreters
    • running your tests in each of the environments, configuring your test tool of choice
    • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

    Yet tox is so much more. It can help create development environments, hold all of your admin scripts, ...

    I hope you enjoy this wonderful discussion of tox with Oliver Bestwalter, one of the core maintainers of tox.

    Special Guest: Oliver Bestwalter.

    Links:

    ]]>
    tox, automation, testing No Brian Okken
    48: A GUI for pytest 48 48 48: A GUI for pytest full 7c841a63-3717-4b72-b301-2b7c60b53835 https://pythontest.com/testandcode/episodes/48-a-gui-for-pytest The story of how I came to find a good user interface for running and debugging automated tests is interleaved with a multi-year effort of mine to have a test workflow that’s works smoothly with product development and actually speeds things up. It’s also interleaved with the origins of the blog pythontesting.net, this podcast, and the pytest book I wrote with Pragmatic.

    It’s not a long story. And it has a happy ending. Well. It’s not over. But I’m happy with where we are now. I’m also hoping that this tale of my dedication to, or obsession with, quality and developer efficiency helps you in your own efforts to make your daily workflow better and to extend that to try to increase the efficiency of those you work with.

    Links:

    ]]>
    The story of how I came to find a good user interface for running and debugging automated tests is interleaved with a multi-year effort of mine to have a test workflow that’s works smoothly with product development and actually speeds things up. It’s also interleaved with the origins of the blog pythontesting.net, this podcast, and the pytest book I wrote with Pragmatic.

    It’s not a long story. And it has a happy ending. Well. It’s not over. But I’m happy with where we are now. I’m also hoping that this tale of my dedication to, or obsession with, quality and developer efficiency helps you in your own efforts to make your daily workflow better and to extend that to try to increase the efficiency of those you work with.

    Links:

    ]]>
    Sun, 07 Oct 2018 23:00:00 -0700 Brian Okken Brian Okken 732 The story of how I came to find a good user interface for running and debugging automated tests is interleaved with a multi-year effort of mine to have a test workflow that’s works smoothly with product development and actually speeds things up. It’s also interleaved with the origins of the blog pythontesting.net, this podcast, and the pytest book I wrote with Pragmatic.

    It’s not a long story. And it has a happy ending. Well. It’s not over. But I’m happy with where we are now. I’m also hoping that this tale of my dedication to, or obsession with, quality and developer efficiency helps you in your own efforts to make your daily workflow better and to extend that to try to increase the efficiency of those you work with.

    Links:

    ]]>
    pytest, GUI, developer efficiency No Brian Okken
    47: Automation Panda - Andy Knight 47 47 47: Automation Panda - Andy Knight full 5d5d4aa7-b828-4e86-9036-c47d30e133ae https://pythontest.com/testandcode/episodes/47-automation-panda-andy-knight Interview with Andy Knight, the Automation Panda.

    • Selenium & WebDriver
    • Headless Chrome
    • Gherkin
    • BDD
    • Given When Then
    • pytest-bdd
    • PyCharm
    • Writing Good Gherkin
    • Overhead of Gherkin and if it's worth it
    • When to use pytest vs pytest-bdd
    • The art of test automation

    Special Guest: Andy Knight.

    Links:

    ]]>
    Interview with Andy Knight, the Automation Panda.

    • Selenium & WebDriver
    • Headless Chrome
    • Gherkin
    • BDD
    • Given When Then
    • pytest-bdd
    • PyCharm
    • Writing Good Gherkin
    • Overhead of Gherkin and if it's worth it
    • When to use pytest vs pytest-bdd
    • The art of test automation

    Special Guest: Andy Knight.

    Links:

    ]]>
    Fri, 28 Sep 2018 00:30:00 -0700 Brian Okken Brian Okken 2341 Interview with Andy Knight, the Automation Panda.

    • Selenium & WebDriver
    • Headless Chrome
    • Gherkin
    • BDD
    • Given When Then
    • pytest-bdd
    • PyCharm
    • Writing Good Gherkin
    • Overhead of Gherkin and if it's worth it
    • When to use pytest vs pytest-bdd
    • The art of test automation

    Special Guest: Andy Knight.

    Links:

    ]]>
    BDD, Gherkin, Selenium, WebDriver No Brian Okken
    46: Testing Hard To Test Applications - Anthony Shaw 46 46 46: Testing Hard To Test Applications - Anthony Shaw full 559bed92-f561-442f-ad24-4832cf8e8b17 https://pythontest.com/testandcode/episodes/46-testing-hard-to-test-applications-anthony-shaw How do you write tests for things that aren’t that easy to write tests for?

    That question is a possibly terrible summary of a question sent to me by a listener. And to help me start answering that question, I asked a friend of mine to help, Antony Shaw.

    Of course, different types of applications have different test strategies, so there’s not a universal answer. But I know some of you out there have experience and expertise around how to tackle this problem.

    Listen to the discussion Anthony and I have about it, and let me know if you have some techniques or tips to add.

    Special Guest: Anthony Shaw.

    ]]>
    How do you write tests for things that aren’t that easy to write tests for?

    That question is a possibly terrible summary of a question sent to me by a listener. And to help me start answering that question, I asked a friend of mine to help, Antony Shaw.

    Of course, different types of applications have different test strategies, so there’s not a universal answer. But I know some of you out there have experience and expertise around how to tackle this problem.

    Listen to the discussion Anthony and I have about it, and let me know if you have some techniques or tips to add.

    Special Guest: Anthony Shaw.

    ]]>
    Sun, 02 Sep 2018 08:00:00 -0700 Brian Okken Brian Okken 2566 How do you write tests for things that aren’t that easy to write tests for?

    That question is a possibly terrible summary of a question sent to me by a listener. And to help me start answering that question, I asked a friend of mine to help, Antony Shaw.

    Of course, different types of applications have different test strategies, so there’s not a universal answer. But I know some of you out there have experience and expertise around how to tackle this problem.

    Listen to the discussion Anthony and I have about it, and let me know if you have some techniques or tips to add.

    Special Guest: Anthony Shaw.

    ]]>
    software testing No Brian Okken
    45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA 45 45 45: David Heinemeier Hansson - Software Development and Testing, TDD, and exploratory QA full 6ae392a5-5d07-4f34-a3ba-cce4d90ea161 https://pythontest.com/testandcode/episodes/45-david-heinemeier-hansson-software-development-and-testing-tdd-and-exploratory-qa David Heinemeier Hansson is the creator of Ruby on Rails, founder & CTO at Basecamp (formerly 37signals). He's a best selling author, public speaker, and even a Le Mans class winning racing driver.

    All of that, of course, is awesome. But that's not why I asked him on the show. In 2014, during a RailsConf keynote, he started a discussion about damage caused by TDD. This was followed by a few blog posts, and then a series of recorded hangouts with Martin Fowler and Kent Beck. This is what I wanted to talk with David about; this unconventional yet practical and intuitive view of how testing and development work together.

    It's a great discussion. I think you'll get a lot out of it.

    Special Guest: David Heinemeier Hansson.

    Links:

    ]]>
    David Heinemeier Hansson is the creator of Ruby on Rails, founder & CTO at Basecamp (formerly 37signals). He's a best selling author, public speaker, and even a Le Mans class winning racing driver.

    All of that, of course, is awesome. But that's not why I asked him on the show. In 2014, during a RailsConf keynote, he started a discussion about damage caused by TDD. This was followed by a few blog posts, and then a series of recorded hangouts with Martin Fowler and Kent Beck. This is what I wanted to talk with David about; this unconventional yet practical and intuitive view of how testing and development work together.

    It's a great discussion. I think you'll get a lot out of it.

    Special Guest: David Heinemeier Hansson.

    Links:

    ]]>
    Mon, 13 Aug 2018 06:45:00 -0700 Brian Okken Brian Okken 2433 David Heinemeier Hansson is the creator of Ruby on Rails, founder & CTO at Basecamp (formerly 37signals). He's a best selling author, public speaker, and even a Le Mans class winning racing driver.

    All of that, of course, is awesome. But that's not why I asked him on the show. In 2014, during a RailsConf keynote, he started a discussion about damage caused by TDD. This was followed by a few blog posts, and then a series of recorded hangouts with Martin Fowler and Kent Beck. This is what I wanted to talk with David about; this unconventional yet practical and intuitive view of how testing and development work together.

    It's a great discussion. I think you'll get a lot out of it.

    Special Guest: David Heinemeier Hansson.

    Links:

    ]]>
    TDD, software testing, exploratory QA, DHH No Brian Okken
    44: Mentoring - Nina Zakharenko 44 44 44: Mentoring - Nina Zakharenko full d843818f-bf2b-486a-acb6-7f9505200136 https://pythontest.com/testandcode/episodes/44-mentoring-nina-zakharenko Nina Zakharenko is a cloud developer advocate at Microsoft focusing on Python. She's also an excellent public speaker. We talk about her experience with mentoring, both being a mentor, and utilizing mentors. We also talk about public speaking, her move to Microsoft, and to Portland, and the Microsoft/GitHub merge.

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    Nina Zakharenko is a cloud developer advocate at Microsoft focusing on Python. She's also an excellent public speaker. We talk about her experience with mentoring, both being a mentor, and utilizing mentors. We also talk about public speaking, her move to Microsoft, and to Portland, and the Microsoft/GitHub merge.

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    Sat, 21 Jul 2018 00:15:00 -0700 Brian Okken Brian Okken 1603 Nina Zakharenko is a cloud developer advocate at Microsoft focusing on Python. She's also an excellent public speaker. We talk about her experience with mentoring, both being a mentor, and utilizing mentors. We also talk about public speaking, her move to Microsoft, and to Portland, and the Microsoft/GitHub merge.

    Special Guest: Nina Zakharenko.

    Links:

    ]]>
    mentoring, public speaking, developer advocate, Microsoft, GitHub No Brian Okken
    Preparing for Technical Talks with Kelsey Hightower - bonus episode 44 44 Preparing for Technical Talks with Kelsey Hightower - bonus episode full d2ee0013-f5a9-4c2b-9461-f6c48ffbdfbc https://pythontest.com/testandcode/episodes/preparing-for-technical-talks-with-kelsey-hightower-bonus-episode After I had wrapped up the interview with Kelsey Hightower for episode 43, I asked him one last question.

    You see, I admire the his presentation style.
    So I asked him if he would share with me how he prepared for his presentations.

    His answer is so thoughtful and makes so much sense, I couldn't keep it to myself.

    I'm releasing this as a bonus mini-episode so that it's easy to refer back to the next time you or I have a chance to do a technical talk.

    Special Guest: Kelsey Hightower.

    ]]>
    After I had wrapped up the interview with Kelsey Hightower for episode 43, I asked him one last question.

    You see, I admire the his presentation style.
    So I asked him if he would share with me how he prepared for his presentations.

    His answer is so thoughtful and makes so much sense, I couldn't keep it to myself.

    I'm releasing this as a bonus mini-episode so that it's easy to refer back to the next time you or I have a chance to do a technical talk.

    Special Guest: Kelsey Hightower.

    ]]>
    Mon, 16 Jul 2018 22:45:00 -0700 Brian Okken Brian Okken 511 After I had wrapped up the interview with Kelsey Hightower for episode 43, I asked him one last question.

    You see, I admire the his presentation style.
    So I asked him if he would share with me how he prepared for his presentations.

    His answer is so thoughtful and makes so much sense, I couldn't keep it to myself.

    I'm releasing this as a bonus mini-episode so that it's easy to refer back to the next time you or I have a chance to do a technical talk.

    Special Guest: Kelsey Hightower.

    ]]>
    public speaking, technical presentations, talks No Brian Okken
    43: Kelsey Hightower - End to End & Integration Testing 43 43 43: Kelsey Hightower - End to End & Integration Testing full 4c0ea1b8-31a9-49ff-ab14-ef08fb3306eb https://pythontest.com/testandcode/episodes/43-kelsey-hightower-end-to-end-integration-testing I first heard Kelsey speak during his 2017 PyCon keynote.
    He's an amazing speaker, and I knew right then I wanted to hear more about what he does and hear more of his story.

    We discuss testing, of course, but we take it further and discuss:

    • tests for large systems, like kubernetes
    • Testing in real world scenarios with all the configuration and everything
    • Becoming a complete engineer by thinking about the end to end flow from the users perspective
    • Learning from other roles, and the value of roles to allow focus and expertise
    • We even get into Chaos Engineering and testing live systems.

    Special Guest: Kelsey Hightower.

    ]]>
    I first heard Kelsey speak during his 2017 PyCon keynote.
    He's an amazing speaker, and I knew right then I wanted to hear more about what he does and hear more of his story.

    We discuss testing, of course, but we take it further and discuss:

    • tests for large systems, like kubernetes
    • Testing in real world scenarios with all the configuration and everything
    • Becoming a complete engineer by thinking about the end to end flow from the users perspective
    • Learning from other roles, and the value of roles to allow focus and expertise
    • We even get into Chaos Engineering and testing live systems.

    Special Guest: Kelsey Hightower.

    ]]>
    Thu, 05 Jul 2018 11:00:00 -0700 Brian Okken Brian Okken 2508 I first heard Kelsey speak during his 2017 PyCon keynote.
    He's an amazing speaker, and I knew right then I wanted to hear more about what he does and hear more of his story.

    We discuss testing, of course, but we take it further and discuss:

    • tests for large systems, like kubernetes
    • Testing in real world scenarios with all the configuration and everything
    • Becoming a complete engineer by thinking about the end to end flow from the users perspective
    • Learning from other roles, and the value of roles to allow focus and expertise
    • We even get into Chaos Engineering and testing live systems.

    Special Guest: Kelsey Hightower.

    ]]>
    kubernetes, distributed systems, network testing, chaos engineering, No Brian Okken
    42: Using Automated Tests to Help Teach Python - Trey Hunner 42 42 42: Using Automated Tests to Help Teach Python - Trey Hunner full db7bb17e-c25a-4ae0-890b-7f55bc291ad5 https://pythontest.com/testandcode/episodes/42-using-automated-tests-to-help-teach-python-trey-hunner This interview with Trey Hunner discusses his use of automated tests to help teach programming.

    Automated testing is a huge part of developing great software. But many new developers don't get exposed to testing for quite a while. But this is changing.

    New ways to teach programming include automated tests from the beginning.

    Trey Hunner is one of the PSF directors and a Python and Django team trainer, and he has been using automated tests to help people learn Python.

    Special Guest: Trey Hunner.

    Links:

    ]]>
    This interview with Trey Hunner discusses his use of automated tests to help teach programming.

    Automated testing is a huge part of developing great software. But many new developers don't get exposed to testing for quite a while. But this is changing.

    New ways to teach programming include automated tests from the beginning.

    Trey Hunner is one of the PSF directors and a Python and Django team trainer, and he has been using automated tests to help people learn Python.

    Special Guest: Trey Hunner.

    Links:

    ]]>
    Wed, 27 Jun 2018 21:00:00 -0700 Brian Okken Brian Okken 3512 This interview with Trey Hunner discusses his use of automated tests to help teach programming.

    Automated testing is a huge part of developing great software. But many new developers don't get exposed to testing for quite a while. But this is changing.

    New ways to teach programming include automated tests from the beginning.

    Trey Hunner is one of the PSF directors and a Python and Django team trainer, and he has been using automated tests to help people learn Python.

    Special Guest: Trey Hunner.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken Trey Hunner
    41: Testing in DevOps and Agile - Anthony Shaw 41 41 41: Testing in DevOps and Agile - Anthony Shaw full 848420df-9575-4472-95f5-239b3bf535ae https://pythontest.com/testandcode/episodes/41-testing-in-devops-and-agile-anthony-shaw We talk with Anthony Shaw about some of the testing problems facing both DevOps teams, and Agile teams. We also talk about his recent pull request accepted into pytest.

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    We talk with Anthony Shaw about some of the testing problems facing both DevOps teams, and Agile teams. We also talk about his recent pull request accepted into pytest.

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    Wed, 18 Apr 2018 00:30:00 -0700 Brian Okken Brian Okken 2688 We talk with Anthony Shaw about some of the testing problems facing both DevOps teams, and Agile teams. We also talk about his recent pull request accepted into pytest.

    Special Guest: Anthony Shaw.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    40: On Podcasting - Adam Clark 40 40 40: On Podcasting - Adam Clark full 658acefb-de48-45b4-a789-056408398292 https://pythontest.com/testandcode/episodes/40-on-podcasting-adam-clark Adam is the host of The Gently Mad podcast, and teaches the steps in creating and growing a podcast in his course Irresistible Podcasting.

    He was one of the people who inspired Brian to get the Test & Code podcast started in the first place. Brian took his course in 2015. Adam is in the process of updating the course, and building a community around it.

    Warning: This may be an episode to listen to with headphones if you have kids around. There is swearing.

    I wanted to get Adam's help to convince many of you to either come on this show as a guest, or start your own podcast. We did some of that. But we also cover a lot of issues like self doubt and the importance of community.

    Special Guest: Adam Clark.

    Links:

    ]]>
    Adam is the host of The Gently Mad podcast, and teaches the steps in creating and growing a podcast in his course Irresistible Podcasting.

    He was one of the people who inspired Brian to get the Test & Code podcast started in the first place. Brian took his course in 2015. Adam is in the process of updating the course, and building a community around it.

    Warning: This may be an episode to listen to with headphones if you have kids around. There is swearing.

    I wanted to get Adam's help to convince many of you to either come on this show as a guest, or start your own podcast. We did some of that. But we also cover a lot of issues like self doubt and the importance of community.

    Special Guest: Adam Clark.

    Links:

    ]]>
    Tue, 10 Apr 2018 14:00:00 -0700 Brian Okken Brian Okken 2928 Adam is the host of The Gently Mad podcast, and teaches the steps in creating and growing a podcast in his course Irresistible Podcasting.

    He was one of the people who inspired Brian to get the Test & Code podcast started in the first place. Brian took his course in 2015. Adam is in the process of updating the course, and building a community around it.

    Warning: This may be an episode to listen to with headphones if you have kids around. There is swearing.

    I wanted to get Adam's help to convince many of you to either come on this show as a guest, or start your own podcast. We did some of that. But we also cover a lot of issues like self doubt and the importance of community.

    Special Guest: Adam Clark.

    Links:

    ]]>
    python, programming, software, testing, Yes Brian Okken
    39: Thorough software testing for critical features 39 39 39: Thorough software testing for critical features full aa7cbdc5-6b08-4099-9218-c24aae0263da https://pythontest.com/testandcode/episodes/39-thorough-software-testing-for-critical-features Complete and exhaustive testing is not possible. Nor would it be fun, or maintainable, or a good use of your time.

    However, some functionality is important enough to make sure the test behavior coverage is thorough enough to have high confidence in it's quality.

    In this episode, we discuss 3 techniques that can be combined to quickly generate test cases. We then talk about how to implement them efficiently in pytest.

    The techniques covered are:

    • equivalence partitioning
    • boundary value analysis
    • decision tables

    We discuss how to use these to generate test cases for a new list filter functionality in the cards application.

    The resulting tests:

    • 1 UI test to make sure the options are able to be passed in correctly.
    • 1 small parametrized test function with 16 single line parameter sets representing the different test cases.

    Links:

    ]]>
    Complete and exhaustive testing is not possible. Nor would it be fun, or maintainable, or a good use of your time.

    However, some functionality is important enough to make sure the test behavior coverage is thorough enough to have high confidence in it's quality.

    In this episode, we discuss 3 techniques that can be combined to quickly generate test cases. We then talk about how to implement them efficiently in pytest.

    The techniques covered are:

    • equivalence partitioning
    • boundary value analysis
    • decision tables

    We discuss how to use these to generate test cases for a new list filter functionality in the cards application.

    The resulting tests:

    • 1 UI test to make sure the options are able to be passed in correctly.
    • 1 small parametrized test function with 16 single line parameter sets representing the different test cases.

    Links:

    ]]>
    Thu, 29 Mar 2018 09:00:00 -0700 Brian Okken Brian Okken 1140 Complete and exhaustive testing is not possible. Nor would it be fun, or maintainable, or a good use of your time.

    However, some functionality is important enough to make sure the test behavior coverage is thorough enough to have high confidence in it's quality.

    In this episode, we discuss 3 techniques that can be combined to quickly generate test cases. We then talk about how to implement them efficiently in pytest.

    The techniques covered are:

    • equivalence partitioning
    • boundary value analysis
    • decision tables

    We discuss how to use these to generate test cases for a new list filter functionality in the cards application.

    The resulting tests:

    • 1 UI test to make sure the options are able to be passed in correctly.
    • 1 small parametrized test function with 16 single line parameter sets representing the different test cases.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    38: Prioritize software tests with RCRCRC 38 38 38: Prioritize software tests with RCRCRC full cefb6ff7-ad1d-4a8a-b40a-2c849065f18d https://pythontest.com/testandcode/episodes/38-prioritize-software-tests-with-rcrcrc RCRCRC was developed by Karen Nicole Johnson.

    In this episode we discuss the mnemonic/heuristic and use it to prioritize tests for the cards application.

    • Recent: new features, new areas of code
    • Core: essential functions must continue to work, your products USPs (Unique Selling Propositions)
    • Risk: some areas of an application pose more risk, perhaps areas important to customers but not used regularly by the development team.
    • Configuration sensitive: code that’s dependent on environment settings or operating system specifics
    • Repaired: tests to reproduce bugs, tests for functionality that has been recently repaired.
    • Chronic: functionality that frequently breaks

    Links:

    ]]>
    RCRCRC was developed by Karen Nicole Johnson.

    In this episode we discuss the mnemonic/heuristic and use it to prioritize tests for the cards application.

    • Recent: new features, new areas of code
    • Core: essential functions must continue to work, your products USPs (Unique Selling Propositions)
    • Risk: some areas of an application pose more risk, perhaps areas important to customers but not used regularly by the development team.
    • Configuration sensitive: code that’s dependent on environment settings or operating system specifics
    • Repaired: tests to reproduce bugs, tests for functionality that has been recently repaired.
    • Chronic: functionality that frequently breaks

    Links:

    ]]>
    Tue, 13 Mar 2018 11:45:00 -0700 Brian Okken Brian Okken 674 RCRCRC was developed by Karen Nicole Johnson.

    In this episode we discuss the mnemonic/heuristic and use it to prioritize tests for the cards application.

    • Recent: new features, new areas of code
    • Core: essential functions must continue to work, your products USPs (Unique Selling Propositions)
    • Risk: some areas of an application pose more risk, perhaps areas important to customers but not used regularly by the development team.
    • Configuration sensitive: code that’s dependent on environment settings or operating system specifics
    • Repaired: tests to reproduce bugs, tests for functionality that has been recently repaired.
    • Chronic: functionality that frequently breaks

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    37: What tests to write first 37 37 37: What tests to write first full 182af42c-2371-4e56-a5bb-903643b177b9 https://pythontest.com/testandcode/episodes/37-what-tests-to-write-first This episode starts down the path of test strategy with the first tests to write in either a legacy system or a project just getting off it's feet.

    We cover:

    • My approach to testing existing systems.
    • Put names to strategies so we can refer to them later.
    • Explain the strategies in general terms and explain why they are useful.
    • Discuss how these strategies are used in an example project. (The code is available on github).

    Strategies covered today:

    • Dog Fooding
    • Exploratory Testing
    • Tracer Bullet Tests
    • Act Like A Customer (ALAC) Tests
    • Manual Procedures
    • Initial automated tests at 2 levels, API and UI.
    ]]>
    This episode starts down the path of test strategy with the first tests to write in either a legacy system or a project just getting off it's feet.

    We cover:

    • My approach to testing existing systems.
    • Put names to strategies so we can refer to them later.
    • Explain the strategies in general terms and explain why they are useful.
    • Discuss how these strategies are used in an example project. (The code is available on github).

    Strategies covered today:

    • Dog Fooding
    • Exploratory Testing
    • Tracer Bullet Tests
    • Act Like A Customer (ALAC) Tests
    • Manual Procedures
    • Initial automated tests at 2 levels, API and UI.
    ]]>
    Thu, 08 Mar 2018 00:45:00 -0700 Brian Okken Brian Okken 1256 This episode starts down the path of test strategy with the first tests to write in either a legacy system or a project just getting off it's feet.

    We cover:

    • My approach to testing existing systems.
    • Put names to strategies so we can refer to them later.
    • Explain the strategies in general terms and explain why they are useful.
    • Discuss how these strategies are used in an example project. (The code is available on github).

    Strategies covered today:

    • Dog Fooding
    • Exploratory Testing
    • Tracer Bullet Tests
    • Act Like A Customer (ALAC) Tests
    • Manual Procedures
    • Initial automated tests at 2 levels, API and UI.
    ]]>
    python, programming, software, testing, No Brian Okken
    36: Stephanie Hurlburt - Mentoring and Open Office Hours 36 36 36: Stephanie Hurlburt - Mentoring and Open Office Hours full 6fc71a8a-8d25-4b97-bbd1-02cc8b4a6c66 https://pythontest.com/testandcode/episodes/36-stephanie-hurlburt-mentoring-and-open-office-hours Stephanie is a co-founder and graphics engineer at Binomial.

    She works on Basis, an image compressor, and has customers in games, video, mapping, and any application that has lots of image data.

    Stephanie has also been encouraging experienced engineers to open up their twitter DMs to questions from anyone, to help mentor people not only in technical questions, but in career questions as well.

    She also sets aside some time to mentor people through skype when written form just doesn't cut it.

    That's the primary reason I have Stephanie on today, to talk about mentoring and open office hours.

    But we also talk about

    • Binomial
    • image compression
    • texture mapping
    • the use of both manual and automated testing for complex systems
    • sane work hours
    • work life balance
    • and how long hours have led her to the opinions she holds today

    Special Guest: Stephanie Hurlburt.

    Links:

    ]]>
    Stephanie is a co-founder and graphics engineer at Binomial.

    She works on Basis, an image compressor, and has customers in games, video, mapping, and any application that has lots of image data.

    Stephanie has also been encouraging experienced engineers to open up their twitter DMs to questions from anyone, to help mentor people not only in technical questions, but in career questions as well.

    She also sets aside some time to mentor people through skype when written form just doesn't cut it.

    That's the primary reason I have Stephanie on today, to talk about mentoring and open office hours.

    But we also talk about

    • Binomial
    • image compression
    • texture mapping
    • the use of both manual and automated testing for complex systems
    • sane work hours
    • work life balance
    • and how long hours have led her to the opinions she holds today

    Special Guest: Stephanie Hurlburt.

    Links:

    ]]>
    Tue, 13 Feb 2018 00:15:00 -0700 Brian Okken Brian Okken 1882 Stephanie is a co-founder and graphics engineer at Binomial.

    She works on Basis, an image compressor, and has customers in games, video, mapping, and any application that has lots of image data.

    Stephanie has also been encouraging experienced engineers to open up their twitter DMs to questions from anyone, to help mentor people not only in technical questions, but in career questions as well.

    She also sets aside some time to mentor people through skype when written form just doesn't cut it.

    That's the primary reason I have Stephanie on today, to talk about mentoring and open office hours.

    But we also talk about

    • Binomial
    • image compression
    • texture mapping
    • the use of both manual and automated testing for complex systems
    • sane work hours
    • work life balance
    • and how long hours have led her to the opinions she holds today

    Special Guest: Stephanie Hurlburt.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    35: Continuing Education and Certificate Programs at UW 35 35 35: Continuing Education and Certificate Programs at UW full 890e4ef8-6624-4b9f-b46e-e1be986313c6 https://pythontest.com/testandcode/episodes/35-continuing-education-and-certificate-programs-at-uw There are lots of ways to up your skills.
    Of course, I'm a big fan of learning through reading books, such as upping your testing skills by reading Python Testing with pytest.
    And then there are online learning systems and MOOCs.

    At the other end of the spectrum is a full blown university degree.

    One option kind of in the middle is continuing education programs available through some universities, such as University of Washington.

    To discuss this option with me in more depth, we've got Andrew Hoover,
    Senior Director, Program Strategy, University of Washington Continuum College

    Special Guest: Andrew Hoover.

    Links:

    ]]>
    There are lots of ways to up your skills.
    Of course, I'm a big fan of learning through reading books, such as upping your testing skills by reading Python Testing with pytest.
    And then there are online learning systems and MOOCs.

    At the other end of the spectrum is a full blown university degree.

    One option kind of in the middle is continuing education programs available through some universities, such as University of Washington.

    To discuss this option with me in more depth, we've got Andrew Hoover,
    Senior Director, Program Strategy, University of Washington Continuum College

    Special Guest: Andrew Hoover.

    Links:

    ]]>
    Thu, 01 Feb 2018 00:00:00 -0700 Brian Okken Brian Okken 1519 There are lots of ways to up your skills.
    Of course, I'm a big fan of learning through reading books, such as upping your testing skills by reading Python Testing with pytest.
    And then there are online learning systems and MOOCs.

    At the other end of the spectrum is a full blown university degree.

    One option kind of in the middle is continuing education programs available through some universities, such as University of Washington.

    To discuss this option with me in more depth, we've got Andrew Hoover,
    Senior Director, Program Strategy, University of Washington Continuum College

    Special Guest: Andrew Hoover.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    34: TDD and Test First 34 34 34: TDD and Test First full 2ca0f73f-2f9f-4238-8f39-805faa406910 https://pythontest.com/testandcode/episodes/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

    Links:

    ]]>
    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

    Links:

    ]]>
    Sun, 31 Dec 2017 16:00:00 -0700 Brian Okken Brian Okken 1501 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

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    33: Katharine Jarmul - Testing in Data Science 33 33 33: Katharine Jarmul - Testing in Data Science full 436ba191-dc40-4df7-8007-121181da59cf https://pythontest.com/testandcode/episodes/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.

    Links:

    ]]>
    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.

    Links:

    ]]>
    Thu, 30 Nov 2017 10:00:00 -0700 Brian Okken Brian Okken 2235 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.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    32: David Hussman - Agile vs Agility, Dude's Law, and more 32 32 32: David Hussman - Agile vs Agility, Dude's Law, and more full 07d0aa98-8895-4d4d-9ed3-4c4ddfaf15f7 https://pythontest.com/testandcode/episodes/32-david-hussman-agile-vs-agility-dudes-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.

    Links:

    ]]>
    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.

    Links:

    ]]>
    Tue, 03 Oct 2017 08:45:00 -0700 Brian Okken Brian Okken 2848 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.

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    31: I'm so sick of the testing pyramid 31 31 31: I'm so sick of the testing pyramid full 699acab0-ba20-4b41-92c1-3372d45c326e https://pythontest.com/testandcode/episodes/31-im-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.

    <

    Links:

    ]]>
    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.

    <

    Links:

    ]]>
    Wed, 27 Sep 2017 05:00:00 -0700 Brian Okken Brian Okken 2398 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.

    <

    Links:

    ]]>
    python, programming, software, testing, No Brian Okken
    30: Legacy Code - M. Scott Ford 30 30 30: Legacy Code - M. Scott Ford full 68a05c86-6b9a-4dc4-8856-8a692d105a43 https://pythontest.com/testandcode/episodes/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.

    ]]>
    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.

    ]]>
    Mon, 31 Jul 2017 22:30:00 -0700 Brian Okken Brian Okken 2508 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.

    ]]>
    python, programming, software, testing, No Brian Okken
    29: Kobiton & QASymphony - Josh Lieberman 29 29 29: Kobiton & QASymphony - Josh Lieberman full b933a900-32a9-41a5-ad6b-50ed9b222661 https://pythontest.com/testandcode/episodes/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.

    ]]>
    Kobiton is a service to test mobile apps on real devices.
    QASymphony offers software testing and QA tools.

    Special Guest: Josh Lieberman.

    ]]>
    Fri, 30 Jun 2017 19:00:00 -0700 Brian Okken Brian Okken 1083 Kobiton is a service to test mobile apps on real devices.
    QASymphony offers software testing and QA tools.

    Special Guest: Josh Lieberman.

    ]]>
    python, programming, software, testing, No Brian Okken
    28: Chaos Engineering & Experimentation at Netflix - Casey Rosenthal 28 28 28: Chaos Engineering & Experimentation at Netflix - Casey Rosenthal full 6c728117-eae1-4c4d-a93e-1714c2e2d5c9 https://pythontest.com/testandcode/episodes/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.

    ]]>
    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.

    ]]>
    Fri, 07 Apr 2017 08:00:00 -0700 Brian Okken Brian Okken 1976 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.

    ]]>
    python, programming, software, testing, No Brian Okken
    27: Mahmoud Hashemi : unit, integration, and system testing 27 27 27: Mahmoud Hashemi : unit, integration, and system testing full e1919bb1-844d-4620-a962-555b03b74537 https://pythontest.com/testandcode/episodes/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:

    Special Guest: Mahmoud Hashemi.

    ]]>
    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:

    Special Guest: Mahmoud Hashemi.

    ]]>
    Sun, 26 Feb 2017 09:00:00 -0700 Brian Okken Brian Okken 2517 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:

    Special Guest: Mahmoud Hashemi.

    ]]>
    python, programming, software, testing, No Brian Okken
    26: pyresttest – Sam Van Oort 26 26 26: pyresttest – Sam Van Oort full http://pythontesting.net/?p=50683 https://pythontest.com/testandcode/episodes/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, pytest

    ]]>
    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, pytest

    ]]>
    Thu, 01 Dec 2016 01:00:00 -0700 Brian Okken Brian Okken 3476 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, pytest

    ]]>
    python, programming, software, testing, No Brian Okken
    25: Selenium, pytest, Mozilla – Dave Hunt 25 25 25: Selenium, pytest, Mozilla – Dave Hunt full http://pythontesting.net/?p=50677 https://pythontest.com/testandcode/episodes/25-selenium-pytest-mozilla-dave-hunt Interview with Dave Hunt
    d

    We Cover:

    Also:

    • fixtures
    • xfail
    • CI and xfail and html reports
    • CI and capturing 
    • pytest code sprint
    • working remotely for Mozilla
    ]]>
    Interview with Dave Hunt
    d

    We Cover:

    Also:

    • fixtures
    • xfail
    • CI and xfail and html reports
    • CI and capturing 
    • pytest code sprint
    • working remotely for Mozilla
    ]]>
    Thu, 01 Dec 2016 00:45:00 -0700 Brian Okken Brian Okken 2541 Interview with Dave Hunt
    d

    We Cover:

    Also:

    • fixtures
    • xfail
    • CI and xfail and html reports
    • CI and capturing 
    • pytest code sprint
    • working remotely for Mozilla
    ]]>
    python, programming, software, testing, No Brian Okken Dave Hunt
    24: pytest - Raphael Aurich 24 24 24: pytest - Raphael Aurich full http://pythontesting.net/?p=50666 https://pythontest.com/testandcode/episodes/24-pytest-with-raphael-pierzina pytest is an extremely popular test framework used by many projects and companies. 

    In this episode, I interview Raphael Aurich (@hackebrot), a core contributor to both pytest and cookiecutter. We discuss how Raphael got involved with both projects, his involvement in cookiecutter, pytest, "adopt pytest month", the pytest code sprint, and of course some of the cool new features in pytest 3.


    Links:

    ]]>
    pytest is an extremely popular test framework used by many projects and companies. 

    In this episode, I interview Raphael Aurich (@hackebrot), a core contributor to both pytest and cookiecutter. We discuss how Raphael got involved with both projects, his involvement in cookiecutter, pytest, "adopt pytest month", the pytest code sprint, and of course some of the cool new features in pytest 3.


    Links:

    ]]>
    Thu, 10 Nov 2016 01:00:00 -0700 Brian Okken Brian Okken 2116 pytest is an extremely popular test framework used by many projects and companies. 

    In this episode, I interview Raphael Aurich (@hackebrot), a core contributor to both pytest and cookiecutter. We discuss how Raphael got involved with both projects, his involvement in cookiecutter, pytest, "adopt pytest month", the pytest code sprint, and of course some of the cool new features in pytest 3.


    Links:

    ]]>
    python, programming, software, testing, No Brian Okken Raphael Aurich
    23: Lessons about testing and TDD from Kent Beck 23 23 23: Lessons about testing and TDD from Kent Beck full http://pythontesting.net/?p=50653 https://pythontest.com/testandcode/episodes/23-lessons-about-testing-and-tdd-from-kent-beck Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

    I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

    Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

    Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

    He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

    http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

    I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

    What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

    The lessons are:

    1. You're tests should tell a story.
    2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
    3. All test should help differentiate good programs from bad programs and not be redundant.
    4. Test at multiple levels and multiple scales where it makes sense.
    5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.
    ]]>
    Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

    I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

    Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

    Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

    He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

    http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

    I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

    What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

    The lessons are:

    1. You're tests should tell a story.
    2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
    3. All test should help differentiate good programs from bad programs and not be redundant.
    4. Test at multiple levels and multiple scales where it makes sense.
    5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.
    ]]>
    Fri, 30 Sep 2016 00:00:00 -0700 Brian Okken Brian Okken 827 Kent Beck's twitter profile says "Programmer, author, father, husband, goat farmer". But I know him best from his work on extreme programming, test first programming, and test driven development. He's the one. The reason you know about TDD is because of Kent Beck.

    I first ran across writings from Kent Beck as started exploring Extreme Programming in the early 2000's.

    Although I don't agree with all of the views he's expressed in his long and verbose career, I respect him as one of the best sources of information about software development, engineering practices, and software testing.

    Along with Test First Programming and Test Driven Development, Kent started an automated test framework that turned into jUnit. jUnit and it's model of setup and teardown wrapping test functions, as well base test class driven test frameworks became what we know of as xUnit style frameworks now, which includes Python's unittest.

    He discussed this history and a lot more on episode 122 of Software Engineering Radio. The episode is titled "The History of JUnit and the Future of Testing with Kent Beck", and is from Sept 26, 2010.

    http://www.se-radio.net/2010/09/episode-167-the-history-of-junit-and-the-future-of-testing-with-kent-beck/

    I urge you to download it and listen to the whole thing. It's a great interview, still relevant, and applicable to testing in any language, including Python.

    What I've done in this podcast is take a handful of clips from the interview (with permission from IEEE and SERadio), and discuss the clips and my opinions a bit.

    The lessons are:

    1. You're tests should tell a story.
    2. Be careful of DRY, inheritance, and other software development practices that might get in the way of keeping your tests easy to understand.
    3. All test should help differentiate good programs from bad programs and not be redundant.
    4. Test at multiple levels and multiple scales where it makes sense.
    5. Differentiating between TDD, BDD, ATDD, etc. isn't as important as testing your software to learn about it. Who cares what you call it.
    ]]>
    python, programming, software, testing, No Brian Okken
    22: Converting Manual Tests to Automated Tests 22 22 22: Converting Manual Tests to Automated Tests full http://pythontesting.net/?p=50641 https://pythontest.com/testandcode/episodes/22-converting-manual-tests-to-automated-tests How do you convert manual tests to automated tests?

    This episode looks at the differences between manual and automated tests and presents two strategies for converting manual to automated.

    ]]>
    How do you convert manual tests to automated tests?

    This episode looks at the differences between manual and automated tests and presents two strategies for converting manual to automated.

    ]]>
    Sat, 24 Sep 2016 01:00:00 -0700 Brian Okken Brian Okken 657 How do you convert manual tests to automated tests?

    This episode looks at the differences between manual and automated tests and presents two strategies for converting manual to automated.

    ]]>
    python, programming, software, testing, No Brian Okken
    21: Terminology: test fixtures, subcutaneous testing, end to end testing, system testing 21 21 21: Terminology: test fixtures, subcutaneous testing, end to end testing, system testing full http://pythontesting.net/?p=50625 https://pythontest.com/testandcode/episodes/21-terminology-test-fixtures-subcutaneous-testing-end-to-end-testing-system-testing A listener requested that I start covering some terminology. 
     I think it's a great idea.

    Covered in this episode:

    • Test Fixtures
    • Subcutaneous Testing
    • End to End Testing (System Testing)

    I also discuss:

    • A book rewrite
    • Progress on transcripts
    • A story from the slack channel
    ]]>
    A listener requested that I start covering some terminology. 
     I think it's a great idea.

    Covered in this episode:

    • Test Fixtures
    • Subcutaneous Testing
    • End to End Testing (System Testing)

    I also discuss:

    • A book rewrite
    • Progress on transcripts
    • A story from the slack channel
    ]]>
    Wed, 31 Aug 2016 12:00:00 -0700 Brian Okken Brian Okken 1087 A listener requested that I start covering some terminology. 
     I think it's a great idea.

    Covered in this episode:

    • Test Fixtures
    • Subcutaneous Testing
    • End to End Testing (System Testing)

    I also discuss:

    • A book rewrite
    • Progress on transcripts
    • A story from the slack channel
    ]]>
    python, programming, software, testing, No Brian Okken
    20: Talk Python To Me - Michael Kennedy 20 20 20: Talk Python To Me - Michael Kennedy full http://pythontesting.net/?p=50612 https://pythontest.com/testandcode/episodes/20-talk-python-to-me-host-michael-kennedy I talk with Michael about:

    • Episodes of his show having to do with testing.
    • His transition from employee to podcast host and online training entrepreneur.
    • His Python training courses.
    • The Pyramid Web framework.

    Courses by Michael

    Testing related podcast Episodes from Talk Python To Me:

    ]]>
    I talk with Michael about:

    • Episodes of his show having to do with testing.
    • His transition from employee to podcast host and online training entrepreneur.
    • His Python training courses.
    • The Pyramid Web framework.

    Courses by Michael

    Testing related podcast Episodes from Talk Python To Me:

    ]]>
    Fri, 29 Jul 2016 11:00:00 -0700 Brian Okken Brian Okken 2834 I talk with Michael about:

    • Episodes of his show having to do with testing.
    • His transition from employee to podcast host and online training entrepreneur.
    • His Python training courses.
    • The Pyramid Web framework.

    Courses by Michael

    Testing related podcast Episodes from Talk Python To Me:

    ]]>
    python, programming, software, testing, No Brian Okken Michael Kennedy
    19: Python unittest - Robert Collins 19 19 19: Python unittest - Robert Collins full http://pythontesting.net/?p=50598 https://pythontest.com/testandcode/episodes/19-python-unittest-with-robert-collins Interview with Robert Collins, current core maintainer of Python's unittest module.

    Some of the topics covered

    • How did Robert become the maintainer of unittest?
    • unittest2 as a rolling backport of unittest
    • test and class parametrization with subtest and testscenarios
    • Which extension to unittest most closely resembles Pytest fixtures?
    • Comparing Pytest and unittest
    • Will unittest ever get assert rewriting?
    • Future changes to unittest

    I've been re-studying unittest recently and I mostly wanted to ask Robert a bunch of clarifying questions.

    This is an intermediate to advanced discussion of unittest.
     Many great features of unittest go by quickly in this talk.
     Please let me know if there's something you'd like me to cover in more depth as a blog post or a future episode.

    Links

    ]]>
    Interview with Robert Collins, current core maintainer of Python's unittest module.

    Some of the topics covered

    • How did Robert become the maintainer of unittest?
    • unittest2 as a rolling backport of unittest
    • test and class parametrization with subtest and testscenarios
    • Which extension to unittest most closely resembles Pytest fixtures?
    • Comparing Pytest and unittest
    • Will unittest ever get assert rewriting?
    • Future changes to unittest

    I've been re-studying unittest recently and I mostly wanted to ask Robert a bunch of clarifying questions.

    This is an intermediate to advanced discussion of unittest.
     Many great features of unittest go by quickly in this talk.
     Please let me know if there's something you'd like me to cover in more depth as a blog post or a future episode.

    Links

    ]]>
    Wed, 15 Jun 2016 13:00:00 -0700 Brian Okken Brian Okken 2426 Interview with Robert Collins, current core maintainer of Python's unittest module.

    Some of the topics covered

    • How did Robert become the maintainer of unittest?
    • unittest2 as a rolling backport of unittest
    • test and class parametrization with subtest and testscenarios
    • Which extension to unittest most closely resembles Pytest fixtures?
    • Comparing Pytest and unittest
    • Will unittest ever get assert rewriting?
    • Future changes to unittest

    I've been re-studying unittest recently and I mostly wanted to ask Robert a bunch of clarifying questions.

    This is an intermediate to advanced discussion of unittest.
     Many great features of unittest go by quickly in this talk.
     Please let me know if there's something you'd like me to cover in more depth as a blog post or a future episode.

    Links

    ]]>
    python, programming, software, testing, No Brian Okken Robert Collins
    18: Testing in Startups and Hiring Software Engineers - Joe Stump 18 18 18: Testing in Startups and Hiring Software Engineers - Joe Stump full http://pythontesting.net/?p=50556 https://pythontest.com/testandcode/episodes/18-testing-in-startups-and-hiring-software-engineers-with-joe-stump In this episode, I interview with Joe Stump, cofounder of Sprintly (https://sprint.ly), to give the startup perspective to development and testing.

    Joe has spent his career in startups. 
     He's also been involved with hiring and talent acquisition for several startups.

    We talk about testing, continuous integration, code reviews, deployment, tolerance to defects, and how some of those differ between large companies and small companies and startups.

    Then we get into hiring. Specifically, finding and evaluating good engineers, and then getting them to be interested in working for you.

    If you ever want to grow your team size, you need to listen to this.


    ]]>
    In this episode, I interview with Joe Stump, cofounder of Sprintly (https://sprint.ly), to give the startup perspective to development and testing.

    Joe has spent his career in startups. 
     He's also been involved with hiring and talent acquisition for several startups.

    We talk about testing, continuous integration, code reviews, deployment, tolerance to defects, and how some of those differ between large companies and small companies and startups.

    Then we get into hiring. Specifically, finding and evaluating good engineers, and then getting them to be interested in working for you.

    If you ever want to grow your team size, you need to listen to this.


    ]]>
    Tue, 19 Apr 2016 23:00:00 -0700 Brian Okken Brian Okken 3209 In this episode, I interview with Joe Stump, cofounder of Sprintly (https://sprint.ly), to give the startup perspective to development and testing.

    Joe has spent his career in startups. 
     He's also been involved with hiring and talent acquisition for several startups.

    We talk about testing, continuous integration, code reviews, deployment, tolerance to defects, and how some of those differ between large companies and small companies and startups.

    Then we get into hiring. Specifically, finding and evaluating good engineers, and then getting them to be interested in working for you.

    If you ever want to grow your team size, you need to listen to this.


    ]]>
    python, programming, software, testing, No Brian Okken Joe Stump
    17: The Travis Foundation - Laura Gaetano 17 17 17: The Travis Foundation - Laura Gaetano full http://pythontesting.net/?p=50539 https://pythontest.com/testandcode/episodes/17-the-travis-foundation The Travis Foundation. Interview with Laura Gaetano

    Links and things we talked about:

    ]]>
    The Travis Foundation. Interview with Laura Gaetano

    Links and things we talked about:

    ]]>
    Mon, 11 Apr 2016 06:00:00 -0700 Brian Okken Brian Okken 1598 The Travis Foundation. Interview with Laura Gaetano

    Links and things we talked about:

    ]]>
    python, programming, software, testing, No Brian Okken Laura ✨🎨
    16: Welcome to Test and Code 16 16 16: Welcome to Test and Code full http://pythontesting.net/?p=50516 https://pythontest.com/testandcode/episodes/16-welcome-to-test-and-code This is a small episode.

    I'm changing the name from the "Python Test Podcast" to "Test & Code".
    I just want to discuss the reasons behind this change, and take a peek at what's coming up in the future for this podcast.

    Links

    ]]>
    This is a small episode.

    I'm changing the name from the "Python Test Podcast" to "Test & Code".
    I just want to discuss the reasons behind this change, and take a peek at what's coming up in the future for this podcast.

    Links

    ]]>
    Thu, 31 Mar 2016 12:00:00 -0700 Brian Okken Brian Okken 514 This is a small episode.

    I'm changing the name from the "Python Test Podcast" to "Test & Code".
    I just want to discuss the reasons behind this change, and take a peek at what's coming up in the future for this podcast.

    Links

    ]]>
    python, programming, software, testing, No Brian Okken
    15: Lean Software Development 15 15 15: Lean Software Development full http://pythontesting.net/?p=50503 https://pythontest.com/testandcode/episodes/15-lean-software-development An introduction to Lean Software Development

    This is a quick intro to the concepts of Lean Software Development.

    I'm starting a journey of trying to figure out how to apply lean principles to software development in the context of 2016/2017.

    Links

    ]]>
    An introduction to Lean Software Development

    This is a quick intro to the concepts of Lean Software Development.

    I'm starting a journey of trying to figure out how to apply lean principles to software development in the context of 2016/2017.

    Links

    ]]>
    Wed, 09 Mar 2016 12:00:00 -0700 Brian Okken Brian Okken 659 An introduction to Lean Software Development

    This is a quick intro to the concepts of Lean Software Development.

    I'm starting a journey of trying to figure out how to apply lean principles to software development in the context of 2016/2017.

    Links

    ]]>
    python, programming, software, testing, No Brian Okken
    14: Continuous Integration with Travis CI – Josh Kalderimis 14 14 14: Continuous Integration with Travis CI – Josh Kalderimis full http://pythontesting.net/?p=50469 https://pythontest.com/testandcode/episodes/14-continuous-integration-with-travis-ci-josh-kalderimis Interview with Josh Kalderimis from Travis CI.

    Josh is a co-founder and Chief Post-It Officer at Travis CI.

    Topics

    • What is Continuous Integration, CI
    • What is Travis CI
    • Some history of the company
    • travis-ci.org vs travis-ci.com and merging the two
    • Enterprise and the importance of security
    • Feature questions
      • Travis vs Jenkins
      • Travis notification through Slack
      • Reporting history of Travis results
      • Dealing with pytest results status other than pass/fail
      • Capturing std out and stderr logging from tests
      • Build artifacts
      • Tox and Travis
      • Using Selenium
    • What does a Chief Post-It Officer do
    • Differentiation between Travis and other CI options
    • Using Slack to keep remote teams communicating well
    • Travis team
    • Funding open source projects
    • Travis Foundation
    • Rails Girls Summer of Code
    • Open source grants
    • Mustaches and beards
    • Shite shirts
    • New Zealand
    • What does Team Periwinkle do

    Links

    ]]>
    Interview with Josh Kalderimis from Travis CI.

    Josh is a co-founder and Chief Post-It Officer at Travis CI.

    Topics

    • What is Continuous Integration, CI
    • What is Travis CI
    • Some history of the company
    • travis-ci.org vs travis-ci.com and merging the two
    • Enterprise and the importance of security
    • Feature questions
      • Travis vs Jenkins
      • Travis notification through Slack
      • Reporting history of Travis results
      • Dealing with pytest results status other than pass/fail
      • Capturing std out and stderr logging from tests
      • Build artifacts
      • Tox and Travis
      • Using Selenium
    • What does a Chief Post-It Officer do
    • Differentiation between Travis and other CI options
    • Using Slack to keep remote teams communicating well
    • Travis team
    • Funding open source projects
    • Travis Foundation
    • Rails Girls Summer of Code
    • Open source grants
    • Mustaches and beards
    • Shite shirts
    • New Zealand
    • What does Team Periwinkle do

    Links

    ]]>
    Thu, 25 Feb 2016 03:00:00 -0700 Brian Okken Brian Okken 3498 Interview with Josh Kalderimis from Travis CI.

    Josh is a co-founder and Chief Post-It Officer at Travis CI.

    Topics

    • What is Continuous Integration, CI
    • What is Travis CI
    • Some history of the company
    • travis-ci.org vs travis-ci.com and merging the two
    • Enterprise and the importance of security
    • Feature questions
      • Travis vs Jenkins
      • Travis notification through Slack
      • Reporting history of Travis results
      • Dealing with pytest results status other than pass/fail
      • Capturing std out and stderr logging from tests
      • Build artifacts
      • Tox and Travis
      • Using Selenium
    • What does a Chief Post-It Officer do
    • Differentiation between Travis and other CI options
    • Using Slack to keep remote teams communicating well
    • Travis team
    • Funding open source projects
    • Travis Foundation
    • Rails Girls Summer of Code
    • Open source grants
    • Mustaches and beards
    • Shite shirts
    • New Zealand
    • What does Team Periwinkle do

    Links

    ]]>
    python, programming, software, testing, No Brian Okken Josh Kalderimis
    13: Ian Cordasco – Betamax 13 13 13: Ian Cordasco – Betamax full http://pythontesting.net/?p=50451 https://pythontest.com/testandcode/episodes/13-ian-cordasco-betamax Testing apps that use requests without using mock.

    Interview with Ian Cordasco (@sigmavirus24)

    Topics:

    • Betamax - python library for replaying requests interactions for use in testing.
    • requests
    • github3.py
    • Pycon 2015 talk: Ian Cordasco - Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015
    • Pytest and using Betamax with pytest fixtures
    • The utility (or uselessness) of teaching programming with Java (My own rant mainly)
    • Rackspace and Ian’s role at Rackspace and OpenStack
    • Python Code Quality Authority: flake8, pep8, mccabe, pylint, astroid, …
    • Static code analysis and what to use which tool when.
    • Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015

    Links:

    Other Betamax resources:

    ]]>
    Testing apps that use requests without using mock.

    Interview with Ian Cordasco (@sigmavirus24)

    Topics:

    • Betamax - python library for replaying requests interactions for use in testing.
    • requests
    • github3.py
    • Pycon 2015 talk: Ian Cordasco - Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015
    • Pytest and using Betamax with pytest fixtures
    • The utility (or uselessness) of teaching programming with Java (My own rant mainly)
    • Rackspace and Ian’s role at Rackspace and OpenStack
    • Python Code Quality Authority: flake8, pep8, mccabe, pylint, astroid, …
    • Static code analysis and what to use which tool when.
    • Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015

    Links:

    Other Betamax resources:

    ]]>
    Wed, 17 Feb 2016 12:00:00 -0700 Brian Okken Brian Okken 1244 Testing apps that use requests without using mock.

    Interview with Ian Cordasco (@sigmavirus24)

    Topics:

    • Betamax - python library for replaying requests interactions for use in testing.
    • requests
    • github3.py
    • Pycon 2015 talk: Ian Cordasco - Cutting Off the Internet: Testing Applications that Use Requests - PyCon 2015
    • Pytest and using Betamax with pytest fixtures
    • The utility (or uselessness) of teaching programming with Java (My own rant mainly)
    • Rackspace and Ian’s role at Rackspace and OpenStack
    • Python Code Quality Authority: flake8, pep8, mccabe, pylint, astroid, …
    • Static code analysis and what to use which tool when.
    • Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015

    Links:

    Other Betamax resources:

    ]]>
    python, programming, software, testing, No Brian Okken Ian Stapleton Cordasco
    12: Coverage.py with Ned Batchelder 12 12 12: Coverage.py with Ned Batchelder full http://pythontesting.net/?p=50424 https://pythontest.com/testandcode/episodes/12-coverage-py-with-ned-batchelder In this episode I interview Ned Batchelder.

    I know that coverage.py is very important to a lot of people to understand how much of their code is being covered by their test suites.
    Since I'm far from an expert on coverage, I asked Ned to discuss it on the show.

    I'm also quite a fan of Ned's 2014 PyCon talk "Getting Started Testing", so I definitely asked him about that.

    We also discuss edX, Python user groups, PyCon talks, and more.

    Some of what's covered (pun intended) in this episode:

    • coverage.py
      • types of coverage
        • Line coverage
        • branch coverage
        • Behavior coverage
        • Data coverage
      • How Ned became the owner of coverage.py
      • Running tests from coverage.py vs running coverage from test runner.
    • edX
      • what is it
      • what Ned's role is
    • Ned's blog
    • Ned's PyCon 2014 talk "Getting Started Testing"
      • Teaching testing and the difficulty of the classes being part of unittest
      • fixtures package
      • some of the difficulties of teaching unittest because of it's class based system.
      • the history of classes in unittest coming from java's jUnit implementation
    • Boston's Python Group
    • PyCon in Portland
    • Ned to do a talk here "Machete mode debugging".
    • Practicing PyCon talks at local group meetings.
    • At the very least, practice it in front of a live audience.

    Links:

    Special Guest: Ned Batchelder.

    ]]>
    In this episode I interview Ned Batchelder.

    I know that coverage.py is very important to a lot of people to understand how much of their code is being covered by their test suites.
    Since I'm far from an expert on coverage, I asked Ned to discuss it on the show.

    I'm also quite a fan of Ned's 2014 PyCon talk "Getting Started Testing", so I definitely asked him about that.

    We also discuss edX, Python user groups, PyCon talks, and more.

    Some of what's covered (pun intended) in this episode:

    • coverage.py
      • types of coverage
        • Line coverage
        • branch coverage
        • Behavior coverage
        • Data coverage
      • How Ned became the owner of coverage.py
      • Running tests from coverage.py vs running coverage from test runner.
    • edX
      • what is it
      • what Ned's role is
    • Ned's blog
    • Ned's PyCon 2014 talk "Getting Started Testing"
      • Teaching testing and the difficulty of the classes being part of unittest
      • fixtures package
      • some of the difficulties of teaching unittest because of it's class based system.
      • the history of classes in unittest coming from java's jUnit implementation
    • Boston's Python Group
    • PyCon in Portland
    • Ned to do a talk here "Machete mode debugging".
    • Practicing PyCon talks at local group meetings.
    • At the very least, practice it in front of a live audience.

    Links:

    Special Guest: Ned Batchelder.

    ]]>
    Tue, 09 Feb 2016 23:30:00 -0700 Brian Okken Brian Okken 2438 In this episode I interview Ned Batchelder.

    I know that coverage.py is very important to a lot of people to understand how much of their code is being covered by their test suites.
    Since I'm far from an expert on coverage, I asked Ned to discuss it on the show.

    I'm also quite a fan of Ned's 2014 PyCon talk "Getting Started Testing", so I definitely asked him about that.

    We also discuss edX, Python user groups, PyCon talks, and more.

    Some of what's covered (pun intended) in this episode:

    • coverage.py
      • types of coverage
        • Line coverage
        • branch coverage
        • Behavior coverage
        • Data coverage
      • How Ned became the owner of coverage.py
      • Running tests from coverage.py vs running coverage from test runner.
    • edX
      • what is it
      • what Ned's role is
    • Ned's blog
    • Ned's PyCon 2014 talk "Getting Started Testing"
      • Teaching testing and the difficulty of the classes being part of unittest
      • fixtures package
      • some of the difficulties of teaching unittest because of it's class based system.
      • the history of classes in unittest coming from java's jUnit implementation
    • Boston's Python Group
    • PyCon in Portland
    • Ned to do a talk here "Machete mode debugging".
    • Practicing PyCon talks at local group meetings.
    • At the very least, practice it in front of a live audience.

    Links:

    Special Guest: Ned Batchelder.

    ]]>
    python, programming, software, testing, No Brian Okken
    11: pytest assert magic 11 11 11: pytest assert magic full http://pythontesting.net/?p=50411 https://pythontest.com/testandcode/episodes/11-pytest-assert-magic How pytest, unittest, and nose deal with assertions.

    The job of the test framework to tell developers how and why their tests failed is a difficult job.

    In this episode I talk about assert helper functions and the 3 methods pytest uses to get around having users need to use assert helper functions.

    ]]>
    How pytest, unittest, and nose deal with assertions.

    The job of the test framework to tell developers how and why their tests failed is a difficult job.

    In this episode I talk about assert helper functions and the 3 methods pytest uses to get around having users need to use assert helper functions.

    ]]>
    Thu, 04 Feb 2016 00:00:00 -0700 Brian Okken Brian Okken 827 How pytest, unittest, and nose deal with assertions.

    The job of the test framework to tell developers how and why their tests failed is a difficult job.

    In this episode I talk about assert helper functions and the 3 methods pytest uses to get around having users need to use assert helper functions.

    ]]>
    python, programming, software, testing, No Brian Okken
    10: Test Case Design using Given-When-Then from BDD 10 10 10: Test Case Design using Given-When-Then from BDD full http://pythontesting.net/?p=50393 https://pythontest.com/testandcode/episodes/10-test-case-design-using-given-when-then-from-bdd Given-When-Then is borrowed from BDD and is my favorite structure for test case design.

    It doesn’t matter if you are using pytest, unittest, nose, or something completely different, this episode will help you write better tests.

    • The Given-When-Then structure for test method/function development.
    • How and why to utilize fixtures for your given or precondition code.
    • Similarities with other structure discriptions.
      • Setup-Test-Teardown
      • Setup-Excercise-Verify-Teardown.
      • Arrange-Act-Assert
      • Preconditions-Trigger-Postconditions.
    • Benefits
      • Communicate the purpose of your test more clearly
      • Focus your thinking while writing the test
      • Make test writing faster
      • Make it easier to re-use parts of your test
      • Highlight the assumptions you are making about the test preconditions
      • Highlight what outcomes you are expecting and testing against.

    Links discussed in the show:

    ]]>
    Given-When-Then is borrowed from BDD and is my favorite structure for test case design.

    It doesn’t matter if you are using pytest, unittest, nose, or something completely different, this episode will help you write better tests.

    • The Given-When-Then structure for test method/function development.
    • How and why to utilize fixtures for your given or precondition code.
    • Similarities with other structure discriptions.
      • Setup-Test-Teardown
      • Setup-Excercise-Verify-Teardown.
      • Arrange-Act-Assert
      • Preconditions-Trigger-Postconditions.
    • Benefits
      • Communicate the purpose of your test more clearly
      • Focus your thinking while writing the test
      • Make test writing faster
      • Make it easier to re-use parts of your test
      • Highlight the assumptions you are making about the test preconditions
      • Highlight what outcomes you are expecting and testing against.

    Links discussed in the show:

    ]]>
    Sun, 31 Jan 2016 00:00:00 -0700 Brian Okken Brian Okken 1225 Given-When-Then is borrowed from BDD and is my favorite structure for test case design.

    It doesn’t matter if you are using pytest, unittest, nose, or something completely different, this episode will help you write better tests.

    • The Given-When-Then structure for test method/function development.
    • How and why to utilize fixtures for your given or precondition code.
    • Similarities with other structure discriptions.
      • Setup-Test-Teardown
      • Setup-Excercise-Verify-Teardown.
      • Arrange-Act-Assert
      • Preconditions-Trigger-Postconditions.
    • Benefits
      • Communicate the purpose of your test more clearly
      • Focus your thinking while writing the test
      • Make test writing faster
      • Make it easier to re-use parts of your test
      • Highlight the assumptions you are making about the test preconditions
      • Highlight what outcomes you are expecting and testing against.

    Links discussed in the show:

    ]]>
    python, programming, software, testing, No Brian Okken
    9: Harry Percival : Testing Web Apps with Python, Selenium, Django 9 9 9: Harry Percival : Testing Web Apps with Python, Selenium, Django full http://pythontesting.net/?p=50370 https://pythontest.com/testandcode/episodes/9-harry-percival-testing-web-apps-with-python-selenium-django
  • Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a book
  • Comparing using unittest and pytest with applicability to testing django projects. 
  • Functional end to end testing with selenium.
  • The django test client for middle level tests.
  • test isolation
  • django and isolated unit tests
  • unit tests vs integration tests
  • Testing done by the development team without an external QA
  • Double loop TDD: Functional test first, then unit tests
  • Spikes: investigations without tests
  • Harry's experience with having a freely available web version of a book that is also intended to be sold.
  • Update: Comment from Harry Percival on 19-Jan-2014
    I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment".

    Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests really saved our bacon on that one...

    Links


    ]]>
  • Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a book
  • Comparing using unittest and pytest with applicability to testing django projects. 
  • Functional end to end testing with selenium.
  • The django test client for middle level tests.
  • test isolation
  • django and isolated unit tests
  • unit tests vs integration tests
  • Testing done by the development team without an external QA
  • Double loop TDD: Functional test first, then unit tests
  • Spikes: investigations without tests
  • Harry's experience with having a freely available web version of a book that is also intended to be sold.
  • Update: Comment from Harry Percival on 19-Jan-2014
    I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment".

    Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests really saved our bacon on that one...

    Links


    ]]>
    Mon, 18 Jan 2016 23:00:00 -0700 Brian Okken Brian Okken 2715
  • Intro to Harry Percival, his background and story of how he got into TDD and ended up writing a book
  • Comparing using unittest and pytest with applicability to testing django projects. 
  • Functional end to end testing with selenium.
  • The django test client for middle level tests.
  • test isolation
  • django and isolated unit tests
  • unit tests vs integration tests
  • Testing done by the development team without an external QA
  • Double loop TDD: Functional test first, then unit tests
  • Spikes: investigations without tests
  • Harry's experience with having a freely available web version of a book that is also intended to be sold.
  • Update: Comment from Harry Percival on 19-Jan-2014
    I might have been a bit down on unit tests vs functional tests in that "unit tests never fail comment".

    Not true at all, particularly as we've just been thru upgrading django on our core system, and the unit tests really saved our bacon on that one...

    Links


    ]]>
    python, programming, software, testing, No Brian Okken Harry Percival @hjwp@fosstodon.org
    8: Agile vs Agility : Agile Is Dead (Long Live Agility) 8 8 8: Agile vs Agility : Agile Is Dead (Long Live Agility) full http://pythontesting.net/?p=50347 https://pythontest.com/testandcode/episodes/8-agile-vs-agility-agile-is-dead-long-live-agility In today's podcast, I dodge the question of "What do you think of Agile?" by reading an essay from Dave Thomas

    ]]>
    In today's podcast, I dodge the question of "What do you think of Agile?" by reading an essay from Dave Thomas

    ]]>
    Tue, 15 Dec 2015 15:00:00 -0700 Brian Okken Brian Okken 519 In today's podcast, I dodge the question of "What do you think of Agile?" by reading an essay from Dave Thomas

    ]]>
    python, programming, software, testing, No Brian Okken
    7: The Waterfall Model and “Managing the Development of Large Software Systems” 7 7 7: The Waterfall Model and “Managing the Development of Large Software Systems” full http://pythontesting.net/?p=50300 https://pythontest.com/testandcode/episodes/7-the-waterfall-model-and-managing-the-development-of-large-software-systems The waterfall model has been used and modified and changed and rebelled against since before I started programming. Waterfall such an important character in the story of software development that we should get to know it a better.

    ]]>
    The waterfall model has been used and modified and changed and rebelled against since before I started programming. Waterfall such an important character in the story of software development that we should get to know it a better.

    ]]>
    Wed, 21 Oct 2015 15:00:00 -0700 Brian Okken Brian Okken 1779 The waterfall model has been used and modified and changed and rebelled against since before I started programming. Waterfall such an important character in the story of software development that we should get to know it a better.

    ]]>
    python, programming, software, testing, No Brian Okken
    6: Writing software is like nothing else 6 6 6: Writing software is like nothing else full http://pythontesting.net/?p=50299 https://pythontest.com/testandcode/episodes/6-writing-software-is-like-nothing-else My experience with writing software comes from my experience: where I grew up, what eras I lived through, what my economical and geographical experiences have been, when I learned to code, and what projects I've worked on.

    ]]>
    My experience with writing software comes from my experience: where I grew up, what eras I lived through, what my economical and geographical experiences have been, when I learned to code, and what projects I've worked on.

    ]]>
    Tue, 20 Oct 2015 15:00:00 -0700 Brian Okken Brian Okken 416 My experience with writing software comes from my experience: where I grew up, what eras I lived through, what my economical and geographical experiences have been, when I learned to code, and what projects I've worked on.

    ]]>
    python, programming, software, testing, No Brian Okken
    5: Test Classes: No OO experience required 5 5 5: Test Classes: No OO experience required full http://pythontesting.net/?p=50277 https://pythontest.com/testandcode/episodes/5-test-classes-no-oo-experience-required
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
    Wed, 23 Sep 2015 11:00:00 -0700 Brian Okken Brian Okken 455
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
    python, programming, software, testing, No Brian Okken
    4: Test Fixtures: Setup, Teardown, and so much more 4 4 4: Test Fixtures: Setup, Teardown, and so much more full http://pythontesting.net/?p=50266 https://pythontest.com/testandcode/episodes/4-test-fixtures-setup-teardown-and-so-much-more
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
    Fri, 11 Sep 2015 09:00:00 -0700 Brian Okken Brian Okken 828
  • Setup and Teardown
  • Benefits of Test Fixtures
    • code reuse
    • cleanup of resources
    • errors vs failures
    • focusing your thinking on what you are testing and what you are not
    • scoping for efficiency
  • Brief look at pytest named fixtures
  • References

    ]]>
    python, programming, software, testing, No Brian Okken
    3: Why test? 3 3 3: Why test? full http://pythontesting.net/?p=50251 https://pythontest.com/testandcode/episodes/3-why-test Answering a listener question.

    Why testing?

    • What are the benefits?
    • Why automated testing over manual testing?
    • Why test first?
    • Why do automated testing during development?
    • Why test to the user level API?

    After describing my ideal test strategy and project, I list:

    • Business related, practical benefits of testing
    • Personal reasons to embrace testing
    • Pragmatic, day to day, developer benefits of testing
    ]]>
    Answering a listener question.

    Why testing?

    • What are the benefits?
    • Why automated testing over manual testing?
    • Why test first?
    • Why do automated testing during development?
    • Why test to the user level API?

    After describing my ideal test strategy and project, I list:

    • Business related, practical benefits of testing
    • Personal reasons to embrace testing
    • Pragmatic, day to day, developer benefits of testing
    ]]>
    Wed, 02 Sep 2015 07:00:00 -0700 Brian Okken Brian Okken 1561 Answering a listener question.

    Why testing?

    • What are the benefits?
    • Why automated testing over manual testing?
    • Why test first?
    • Why do automated testing during development?
    • Why test to the user level API?

    After describing my ideal test strategy and project, I list:

    • Business related, practical benefits of testing
    • Personal reasons to embrace testing
    • Pragmatic, day to day, developer benefits of testing
    ]]>
    python, programming, software, testing, No Brian Okken
    2: Pytest vs Unittest vs Nose 2 2 2: Pytest vs Unittest vs Nose full http://pythontesting.net/?p=50222 https://pythontest.com/testandcode/episodes/2-pytest-vs-unittest-vs-nose I list my requirements for a framework and discuss how Pytest, Unittest, and Nose measure up to those requirements.

    Mentioned:

    I did the audio processing differently for this episode. Please let me know how it sounds, if there are any problems, etc.

    ]]>
    I list my requirements for a framework and discuss how Pytest, Unittest, and Nose measure up to those requirements.

    Mentioned:

    I did the audio processing differently for this episode. Please let me know how it sounds, if there are any problems, etc.

    ]]>
    Thu, 20 Aug 2015 09:45:00 -0700 Brian Okken Brian Okken 738 I list my requirements for a framework and discuss how Pytest, Unittest, and Nose measure up to those requirements.

    Mentioned:

    ]]>
    python, programming, software, testing, No Brian Okken