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
4
Why do we need tests if the code «seems to work»?
2
Easy
3
Чем pytest отличается от unittest и почему его выбирают по умолчанию?
3
Easy
6
What is `assert` in Python and how to use it as a one-line first «test»?
4
Medium
2
Что такое fixtures в pytest и какие у них scope?
5
Easy
4
What is pytest and how to write my first test file?
6
Medium
3
Как работает `@pytest.mark.parametrize`: ids, indirect, multiple stacking?
7
Medium
2
Что такое markers в pytest: skip, skipif, xfail, custom marks?
8
Easy
3
How to run pytest from the terminal and read its output (PASS/FAIL/traceback)?
9
Medium
3
Как мокать зависимости через unittest.mock: MagicMock, patch, side_effect?
10
Easy
3
How to organize tests in a beginner project: where to put them and how to name them?
Previous
1
2
Next
Testing | JScriptiser