145 episodes

Test & Code is a weekly podcast hosted by Brian Okken.
The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics.
When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.

Test & Code : Python Testin‪g‬ Brian Okken

    • Technology
    • 4.6 • 55 Ratings

Test & Code is a weekly podcast hosted by Brian Okken.
The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics.
When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.

    For Those About to Mock - Michael Foord

    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.
    Special Guest: Michael Foord.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE21Support Test & Code : Python Testing
    Links:
    unittest.mock - Python docsMocks Aren't Stubs - Martin Fowlerpytest-mockmock.patchAutospeccingArrange Act Asserttesting-in-python mailing listClassical and Mockist Testing — Classical and Mockist Testing
    Test First Programming / Test First Developmentepisode 102: Cosmic Python, TDD, testing and external dependencies - Harry Percivalepisode 132: mocking in Python - Anna-Lena Popkespytestunittest - Python docspytest assert usage30 best practices for software development and testing | Opensource.com

    • 48 min
    TDD in Science - Martin Héroux

    TDD in Science - Martin Héroux

    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.
    Sponsored By:
    Linode: If it runs on Linux, it runs on Linode.
    Get started on Linode today with $100 in free credit for listeners of Test & Code.Support Test & Code : Python Testing
    Links:
    Joy Division Album Coverepisode 140: Testing in Scientific Research and Academia - Martin Héroux — Martin's previous episode.

    • 53 min
    pytest markers - Anthony Sottile

    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.
    Special Guest: Anthony Sottile.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE21Support Test & Code : Python Testing
    Links:
    Registering markersslow marker example in pytest documentation — Control skipping of tests according to command line optionpytest-repeat · PyPIsource code for pytest-repeatWorking with custom markers — pytest documentationUsing -k expr to select tests based on their nameMarker revamp and iteration, Historical Notes — pytest documentation

    • 40 min
    MongoDB - Mark Smith

    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.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE21Support Test & Code : Python Testing
    Links:
    MongoDBEverything You Know About MongoDB is Wrong!Implementing Event Sourcing and CQRS pattern with MongoDB

    • 35 min
    Visual Testing - Angie Jones

    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
    Special Guest: Angie Jones.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE21Support Test & Code : Python Testing
    Links:
    Test Automation University

    • 30 min
    Testing in Scientific Research and Academia - Martin Héroux

    Testing in Scientific Research and Academia - Martin Héroux

    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.
    Sponsored By:
    PyCharm Professional: Try PyCharm Pro for 4 months and learn how PyCharm will save you time. Promo Code: TESTANDCODE21Support Test & Code : Python Testing
    Links:
    Python Testing with pytest: Simple, Rapid, Effective, and ScalableTest Driven Development: By ExampleMy reaction to "Is TDD Dead?" - Python TestingMartinHeroux/pliffy: Plotting differences with PythonPyBites Code ChallengesPython MorselsMartin Héroux (@martin_heroux) / TwitterScientifically Sound‪Martin Héroux‬ - ‪Google Scholar‬spike2py · PyPIpytest-mpl · PyPI

    • 48 min

Customer Reviews

4.6 out of 5
55 Ratings

55 Ratings

Hellfire0175 ,

A must listen for software testing

This podcast has directly impacted how we test our code. I learn something new each episode. Talk Python to me in conjunction with Test and Code and Python Bytes has exponentially increased my productivity and learning. Thank you!

AJ Kerrigan ,

Testing, code and more

This show provides what it says on the label: engaging discusisons about testing and code. Host Brian Okken approaches each episode with a perfect blend of passion, knowledge and humility. Great stuff!

gtoothpickss ,

In depth on a topic that deserves it

As a junior Python developer, I recently had a sudden realization that testing skills and TDD could be the missing component of my workflow. Learning through examples online works, but testing in the real world is a precarious topic! This podcast is no less than what this topic deserves.

Top Podcasts In Technology

Listeners Also Subscribed To