Pytest - Test your Python code
HTML-код
- Опубликовано: 2 июн 2024
- In this video we'll look at how you can use Pytest to test the Python code that you write.
👨💻 Looking for a web developer job, visit: www.webdevjobs.io/
👽 Discord - / discord
Timestamps
00:00 - Intro and Installation
01:30 - Code Setup
04:30 - Simple Pytests
11:24 - Testing Raise
14:52 - Fixtures
21:45 - conftest or global fixtures
25:37 - Parameterize
29:36 - Mark Tests
31:30 - Class Based Tests
The finished code can be found here:
👾 - github.com/sixfwa/pytest-tuto...
Docs for Pytest - docs.pytest.org/en/7.1.x/
#pytest #python #testing
🔴- If you enjoyed this video please leave a like and subscribe!
fantastic stuff!
Thank you!!
which font you are using for this editor ?