PyTest Tutorial #3 - Execute PyTest Tests from Command Line

preview_player
Показать описание
In this PyTest Tutorial we will learn how to execute PyTest Tests from command line. When you have many PyTest tests in your project its a good practice to execute the test cases from command line as it give you a lot of flexibility and ease to run from command line. It also helps when you want to integrate test execution from Jenkins.

In this tutorial we learn about different command line execution option in PyTest and various frequently used arguments.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#PyTestTutorial #PyTest #LearnPyTest #PyTestforBeginners #SeleniumPython #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

dude watched your videos from #1 to here. I just wanted to thank you because I was having problems with pytest PATH and was having "pytest is not recognized" problem. now all is good and I can run my tests with no problems. I couldn't even find solution on stackoverflow. I don't comment on videos much but thanks a lot!

lacrimosa
Автор

Your way of teaching is better than others like udemy. More concepts are missing in udemy videos of pytest. Now those blank gaps fulfilled by your videos. Thank you so much.

TakeCARes
Автор

Thanks a lot sir
your way of teaching is very easy that even beginners like me can understand the concepts easily

Shubham-ecly
Автор

thank you for the tutorials it is very helpul to me

prudhviraj
Автор

Hi, can someone says me where it was printed the text once he runs the test cases? I dont find it yet, thanks

rarget
Автор

Those who might face issues with changing directory in CMD using cd D:\mypc\extra

add /d too

so it becomes:
cd /d D:\mypc\extra

SanithMohanCase
Автор

I have a main function that displays a chess board and accepts inputs. How will I test the chess moves and the moves?

Rahul-fqkf
Автор

How can I run the LearnPyTest file using the terminal on a MAC ?

miker
Автор

Good way of teaching but needs a little bit explanation about the particular specific concepts which is so complicated to understand

rohithsj
Автор

can you show me how to execute py.test in jenkins?

Zack-nivz
Автор

HELP. I'm using the verbose command on a MAC terminal but it's not working...
python3 -v pytest
Thank you !

miker
Автор

my py test is still coming unsuccesful

freyabeauchamp
join shbcf.ru