Logo

    121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger

    en-usJuly 10, 2020
    What was the main topic of the podcast episode?
    Summarise the key points discussed in the episode?
    Were there any notable quotes or insights from the speakers?
    Which popular books were mentioned in this episode?
    Were there any points particularly controversial or thought-provoking discussed in the episode?
    Were any current events or trending topics addressed in the episode?

    About this Episode

    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.

    Sponsored By:

    Links:

    Recent Episodes from Python Test

    216: ruff, uv, and Astral: Python tooling, much faster, with Rust

    216: ruff, uv, and Astral: Python tooling, much faster, with Rust

    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:


    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    215: Staying Technical as a Manager

    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.


    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    214: Python Testing in VS Code

    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:


    The Complete pytest Course

    213: Repeating Tests

    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.


    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

    212: Canon TDD - by Kent Beck

    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:


    The Complete pytest Course

    211: Stamp out test dependencies with pytest plugins

    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



    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.


    210: TDD - Refactor while green

    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.


    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.


    209: Testing argparse Applications

    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:


    The Complete pytest Course

    208: Tests with no assert statements

    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.


    Sponsored by PyCharm Pro

    The Complete pytest Course

    • For the fastest way to learn pytest, go to courses.pythontest.com
    • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.


    207: Welcome to "Python Test", pytest course, pytest-repeat and pytest-flakefinder

    207: Welcome to "Python Test", pytest course, pytest-repeat and pytest-flakefinder
    Logo

    © 2024 Podcastworld. All rights reserved

    Stay up to date

    For any inquiries, please email us at hello@podcastworld.io