👉 Watch the updated video on how to skip or run tests in pytest with PyCharm: • How to skip or run tests in pytest wi...
During refactoring, use pytest's markers to ignore certain breaking tests.
00:00 - Start
00:13 - Get back into "TDD Mode"
00:26 - Start by running all tests
00:34 - Add a failing test for the new feature
00:49 - Temporarily suppress it with "skip"
01:07 - Fix the implementation
01:24 - Remove the marker
01:48 - Improve the typing to allow a tuple
02:15 - Write failing test for second feature, apply the "skip" marker
02:30 - Implement the feature
02:45 - Remove the marker
More on this tutorial step: https://www.jetbrains.com/pycharm/gui...
The full tutorial: https://www.jetbrains.com/pycharm/gui...
See tips, tutorials, and more in the PyCharm Guide: https://www.jetbrains.com/pycharm/guide/
Смотрите видео Step 6 - Pytest tutorial: Skipping Tests онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PyCharm, a JetBrains IDE 15 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,834 раз и оно понравилось 19 людям.