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

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

I know it may sound weird, but I totally LOVE IT that I can hear a black man with an accent that I typically hear in some gangster movies, some yt "rap" videos or videos about poor black neighbourhoods, and I hear him talking about something really useful and in a tactful manner. Dispels any negative stereotypes one could have! And on top of that the video is really informative. Huge kudos to you man :)

ashrasmun
Автор

Thank you many folds for providing such a good content and putting so much efforts to create it. its so visible all your hard work behind it for us.thanks for making so good content available on Youtube.

WisdomWomenWarrior
Автор

thank you brother, your video helped me to keep on going and finish my studies, i couldn't find other video that explains this better than you. god bless you bro!!

FiestaGamer-hy
Автор

Highly appreciate your educational series, would be AWSEOME to have a tutorial from you on running Pytest modules in Jenkins

beslandaur
Автор

Love this tutorial! thank you for sharing your knowledge!

MrDviratis
Автор

Thanks to you for this tutorial. It has a huge value for me, because i have never seen such great tutorials about pytest in youtube before. (sorry for my English, i just beginner in it)

EIBACH_G
Автор

can you pls add debugging Topic in pytest.i appreciate for such a valuable.

WisdomWomenWarrior
Автор

The Bingo part always gets me smiling 😂

QuickITConsult
Автор

we want more PythonSelenium And Pytest videos from you Sir ! Thanks a lot.

ranjitpratapsingh
Автор

Does the soft assert in Pytest equal to the Python try-except block similarly where it kinda raises error but continues to run other tests?

beslandaur