Building Python Unit Tests & Exploring a Data Visualization Gallery | Real Python Podcast

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
    👉 Links from the show: realpython.com/podcasts/rpp/206/
    We dig into a recent tutorial by Leodanis Pozo Ramos about writing unit tests using Python's unittest. The tutorial covers organizing your tests, exploring assert methods, creating test fixtures, and debugging failing tests.
    We explore a collection of Python data visualizations and tutorials from the Python Graph Gallery. The website features hundreds of charts and graphs built using popular plotting libraries. Each chart type features a foundational tutorial that introduces the structure and application.
    We also share several other articles and projects from the Python community, including a news roundup, the new REPL coming in Python 3.13, a pytest daemon to 10X test iteration speed, a discussion about software friction, a Raspberry Pi document scanner, and a project for controlling time per iteration loop.
    Topics:
    - 00:00:00 - Introduction
    - 00:02:08 - Python Software Foundation Board Election Dates for 2024
    - 00:02:35 - 2023 PSF Annual Impact Report
    - 00:03:03 - Python's `unittest`: Writing Unit Tests for Your Code
    - 00:09:41 - What's New in Python 3.13
    - 00:10:38 - The New REPL in Python 3.13
    - 00:13:39 - Best Python Chart Examples
    - 00:15:27 - Animation with text that highlights important events
    - 00:16:39 - Sankey Diagram with Python and Plotly
    - 00:18:55 - Video Course Spotlight
    - 00:20:25 - Pytest Daemon: 10X Local Test Iteration Speed
    - 00:23:58 - Software Friction
    - 00:35:41 - A Raspberry Pi Document Scanner
    - 00:39:00 - pacemaker: For Controlling Time Per Iteration Loop in Python
    - 00:41:55 - Thanks and goodbye
    👉 Links from the show: realpython.com/podcasts/rpp/206/

Komentáře • 4

  • @nayankothari4725
    @nayankothari4725 Před měsícem

    Thanks for sharing this amazing tutorial ❤ @Real python

  • @rishiraj2548
    @rishiraj2548 Před měsícem

    👍👍

  • @yuvaraj9840
    @yuvaraj9840 Před měsícem

    Good topic and this is podcast
    how do we know the real tutorial in screen. Please guide me

    • @realpython
      @realpython  Před měsícem

      All the links from the show: realpython.com/podcasts/rpp/206/