У нас вы можете посмотреть бесплатно The Pro Way to Run PyTest Tests (Mastering the -k Flag) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Execute precise test selection with PyTest to streamline your workflow and elevate your efficiency as a QA Automation Engineer. ▼▼▼ YOUR NEXT STEP (FREE COURSE) ▼▼▼ 🎓 Get My FREE 14+ Hour Software Testing Course: Turn this skill into a career. Go hands-on with API, SQL, & JIRA to build an unshakeable QA foundation. ► https://www.supersqa.com/learn-softwa... --- 📖 What You'll Learn In This Video Stop running all your tests and start running only the tests you need. In this PyTest tutorial, you'll learn the professional way to take control of the test runner. We'll cover the fundamental rules of how PyTest discovers tests and master the command-line flags you'll use every single day to run your test suites with precision. This is a core skill for any SDET looking to write clean, efficient, and scalable test automation frameworks. ⏰ Timestamps 00:00 - The Problem: Running ALL Your Tests vs. ONLY the Tests You Need 00:19 - Code & Resources for this Tutorial 00:52 - The 4 Rules of PyTest Test Discovery 00:59 - Rule #1: Test File Naming (`test_*.py` or `*_test.py`) 01:31 - Rule #2: Test Function Naming (`test_*`) 02:49 - Rule #3: Test Class Naming (`Test*`) 03:52 - Rule #4: The `__init__` Gotcha in Test Classes 05:05 - How to Run Specific Tests 06:04 - The Dry Run: `--collect-only` 06:45 - The Power of the `-k` Flag (Keyword Selection) 09:08 - Combining Keywords with `or` / `not` 09:55 - Running Tests by Full File Path 11:55 - Must-Know Flags: `-v` (Verbose) and `-s` (Show Prints) --- ▼▼▼ THE COMPLETE TOOLKIT (ACCESS PRO) ▼▼▼ 🚀 Ready to become a top 1% QA Automation Engineer? Unlock all courses, our private community, and live workshops. ► https://www.supersqa.com/ --- ▼▼▼ STAY CONNECTED ▼▼▼ 💬 Join our free Discord community & find me on all social platforms. ► https://www.supersqa.com/social --- #qaautomation #pytest #pytestrules #testdiscovery #testcollection