Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Write Your First Python Unit Test with pytest


    In this lesson you will create a new project with a virtual environment and write your first unit test with pytest. In doing so, you will learn:

    • install pytest
    • organize your project to support automated test discovery
    • setup Visual Code to use pytest as your test engine
    • best practice naming conventions for tests in Python