PyCharm and pytest in under 7 minutes

Опубликовано: 23 Февраль 2026
на канале: PyCharm, a JetBrains IDE
5,094
92

Getting started with pytest? In this video, we will give you a clear-cut introduction to pytest in PyCharm in under 7 minutes!

Learn how to kick off a pytest project in PyCharm, create your first test, adopt the test-driven development (TDD) approach, detect issues, skip tests, use pytest fixtures, debug tests, and test exceptions. Discover how PyCharm supports you every step of the way.

Want to learn more? Check out our detailed pytest tutorial series:    • Pytest tutorial - How to test Python code  

⏰Timestamps:

00:00 – Introduction
00:08 – Setting up PyCharm
00:52 – Creating pyproject.toml or requirements.txt
01:11 – Writing your first pytest test
01:55 – Working with pytest in PyCharm
03:11 – Test-driven development in PyCharm
03:27 – Skipping tests with pytest
04:03 – Working with pytest fixtures
05:00 – Renaming in PyCharm
05:15 – Debugging in PyCharm
05:45 – Testing for exceptions with pytest
06:02 – Outro

🔗 Useful links:

▶ Download PyCharm: https://jb.gg/f0ltn8
▶ Discover our latest tutorials and tips on pytest: https://jb.gg/4ad3zs
▶ Watch how you can use pytest to find bugs and improve code quality, with Brian Okken:    • Do You Do Enough Testing? pytest to the Re...  
▶ Get started with the official pytest documentation: https://docs.pytest.org/en/7.1.x/gett...

#pytest #pytesttutorial #learnpytest #softwaretesting #python #pycharm #jetbrains