filmov
tv
Learn pytest in 6 Hours⏰ | Complete pytest framework Tutorial | LambdaTest

Показать описание
Watch this in-depth pytest tutorial that will help you master the pytest framework and assist you in writing efficient and effective automation tests. Start FREE testing:
📍 𝐀𝐛𝐨𝐮𝐭 𝐩𝐲𝐭𝐞𝐬𝐭
➡ Pytest is a popular Python testing framework primarily used for unit testing. It is open-source, and the project is hosted on GitHub. Pytest framework can be used to write simple unit tests as well as complex functional tests.
It eases the development of writing scalable tests in Python. Unlike the PyUnit (or unit test) framework, tests written using pytest are expressive, compact, and readable.
📍𝐓𝐡𝐢𝐬 𝐭𝐮𝐭𝐨𝐫𝐢𝐚𝐥 𝐜𝐨𝐯𝐞𝐫𝐬 𝐭𝐡𝐞 𝐟𝐨𝐥𝐥𝐨𝐰𝐢𝐧𝐠 𝐭𝐨𝐩𝐢𝐜𝐬:
✔️What is pytest❓
✔️How To Run First Test In pytest❓
✔️What Are Assertions In pytest ❓
✔️How To Run Multiple Tests In pytest❓
✔️How To Group Tests Using Markers👨💻
✔️What Are pytest Fixtures👨💻
✔️What Is Parameterization In pytest❓
✔️How To Skip And Stop Tests❓
✔️What Is Page Object Model❓
✔️How To Generate Test Reports 📝
✔️How To Perform Cross Browser Testing with pytest❓
𝐕𝐢𝐝𝐞𝐨 𝐂𝐡𝐚𝐩𝐭𝐞𝐫𝐬 👀
00:00:00 Introduction
00:04:30 Installing pytest
00:16:50 Installing Selenium to run 1st test
00:41:05 Creating package for assertions
01:15:14 Running all test scripts from the project
01:53:35 Marks to run a subset
02:19:45 Test fixtures in pytest
02:47:38 Parameterize test functions
03:23:17 Skipping a test
04:02:30 Page Object Model
05:11:12 Generating HTML Report
05:28:00 Cross Browser Testing using LambdaTest
05:52:43 Closing
𝐑𝐞𝐥𝐚𝐭𝐞𝐝 𝐁𝐥𝐨𝐠𝐬📝
Sign Up for LambdaTest! It’s FREE 🙌
Perform scalable and reliable cross-browser compatibility testing of your website and web app on the latest mobile and desktop browsers:
𝐄𝐱𝐩𝐥𝐨𝐫𝐞:
𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐰𝐢𝐭𝐡 𝐋𝐚𝐦𝐛𝐝𝐚𝐓𝐞𝐬𝐭:
#lambdatestyourapps #pytest #crossbrowsertesting #pytesttutorial #pytest #learnpytest #pytestforbeginners #seleniumpython
Disclaimer:
This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to © 2023 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.
📍 𝐀𝐛𝐨𝐮𝐭 𝐩𝐲𝐭𝐞𝐬𝐭
➡ Pytest is a popular Python testing framework primarily used for unit testing. It is open-source, and the project is hosted on GitHub. Pytest framework can be used to write simple unit tests as well as complex functional tests.
It eases the development of writing scalable tests in Python. Unlike the PyUnit (or unit test) framework, tests written using pytest are expressive, compact, and readable.
📍𝐓𝐡𝐢𝐬 𝐭𝐮𝐭𝐨𝐫𝐢𝐚𝐥 𝐜𝐨𝐯𝐞𝐫𝐬 𝐭𝐡𝐞 𝐟𝐨𝐥𝐥𝐨𝐰𝐢𝐧𝐠 𝐭𝐨𝐩𝐢𝐜𝐬:
✔️What is pytest❓
✔️How To Run First Test In pytest❓
✔️What Are Assertions In pytest ❓
✔️How To Run Multiple Tests In pytest❓
✔️How To Group Tests Using Markers👨💻
✔️What Are pytest Fixtures👨💻
✔️What Is Parameterization In pytest❓
✔️How To Skip And Stop Tests❓
✔️What Is Page Object Model❓
✔️How To Generate Test Reports 📝
✔️How To Perform Cross Browser Testing with pytest❓
𝐕𝐢𝐝𝐞𝐨 𝐂𝐡𝐚𝐩𝐭𝐞𝐫𝐬 👀
00:00:00 Introduction
00:04:30 Installing pytest
00:16:50 Installing Selenium to run 1st test
00:41:05 Creating package for assertions
01:15:14 Running all test scripts from the project
01:53:35 Marks to run a subset
02:19:45 Test fixtures in pytest
02:47:38 Parameterize test functions
03:23:17 Skipping a test
04:02:30 Page Object Model
05:11:12 Generating HTML Report
05:28:00 Cross Browser Testing using LambdaTest
05:52:43 Closing
𝐑𝐞𝐥𝐚𝐭𝐞𝐝 𝐁𝐥𝐨𝐠𝐬📝
Sign Up for LambdaTest! It’s FREE 🙌
Perform scalable and reliable cross-browser compatibility testing of your website and web app on the latest mobile and desktop browsers:
𝐄𝐱𝐩𝐥𝐨𝐫𝐞:
𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐰𝐢𝐭𝐡 𝐋𝐚𝐦𝐛𝐝𝐚𝐓𝐞𝐬𝐭:
#lambdatestyourapps #pytest #crossbrowsertesting #pytesttutorial #pytest #learnpytest #pytestforbeginners #seleniumpython
Disclaimer:
This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to © 2023 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.
Комментарии