Skip to content
JS
JScriptiser
System Online
Patches
Platform
Quiz
FAQ
🇷🇺
ru
Sign In
To The Lab
Sign In
Knowledge Base
Python
Testing
Testing
pytest, fixtures, parametrize, mock, hypothesis
All
Easy
Medium
Hard
Default
Most popular
Easy first
Hard first
Expand
Collapse
1
Easy
6
Why do we need tests if the code «seems to work»?
2
Easy
6
Чем pytest отличается от unittest и почему его выбирают по умолчанию?
3
Easy
7
What is `assert` in Python and how to use it as a one-line first «test»?
4
Medium
5
Что такое fixtures в pytest и какие у них scope?
5
Easy
7
What is pytest and how to write my first test file?
6
Medium
5
Как работает `@pytest.mark.parametrize`: ids, indirect, multiple stacking?
7
Medium
6
Что такое markers в pytest: skip, skipif, xfail, custom marks?
8
Easy
5
How to run pytest from the terminal and read its output (PASS/FAIL/traceback)?
9
Medium
5
Как мокать зависимости через unittest.mock: MagicMock, patch, side_effect?
10
Easy
5
How to organize tests in a beginner project: where to put them and how to name them?
Previous
1
2
Next
Testing | JScriptiser