PyTest Tutorial #3 - Execute PyTest Tests from Command Line

āđāļŠāļĢāđŒ
āļāļąāļ‡
  • āđ€āļœāļĒāđāļžāļĢāđˆāđ€āļĄāļ·āđˆāļ­ 31 āļž.āļ„. 2021
  • Get all my courses for USD 5.99/Month - bit.ly/all-courses-subscription
    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.
    FULL Playlist: bit.ly/PyTest-Tutorial
    ðŸ”ļFREE Training's at training.rcvacademy.com 🔔SUBSCRIBE to CHANNEL: bit.ly/2YGU6JM
    Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:
    ✅ ALL PLAYLISTS (Software Testing Mentor)ðŸ”ļ / softwaretestingmentor
    ✅ ALL PLAYLISTS (RCV Academy)ðŸ”ļ / @rcvacademy
    ✅ JIRA BEGINNER TUTORIALðŸ”ļ bit.ly/jira-beginner-tutorial
    ✅ JIRA WORKFLOW TUTORIALðŸ”ļ bit.ly/2EzKOEB
    ✅ JIRA ADMINISTRATION TUTORIALðŸ”ļ bit.ly/36MPPFR
    ✅ JIRA TUTORIAL INTERMEDIATEðŸ”ļ bit.ly/Atlassian-JIRA-tutorials
    ✅ JIRA TUTORIALSðŸ”ļ bit.ly/jira-tutorials
    ✅ ZEPHYR TUTORIALðŸ”ļ bit.ly/zephyr-for-jira-tutorials
    ✅ SOAPUI TUTORIALðŸ”ļ bit.ly/Sopui-tutorial
    ✅ JSONPath TUTORIALðŸ”ļ bit.ly/2sIZIFG
    ✅ POSTMAN TUTORIALðŸ”ļ bit.ly/2PBbhI7
    ✅ ISTQB AGILE TESTER CERTIFICATION TUTORIALðŸ”ļ bit.ly/istqb-agile-tester-cert...
    ✅ ISTQB FOUNDATION LEVEL CERTIFICATION TUTORIALðŸ”ļ bit.ly/istqb-foundation-level-...
    ✅ CUCUMBER SELENIUM TUTORIALðŸ”ļ bit.ly/cucumber-selenium-tutorial
    ✅ TESTRAIL TUTORIALðŸ”ļ bit.ly/testrail-tutorial
    ✅ AGILE TUTORIALSðŸ”ļ bit.ly/agile-tutorials
    ✅ PYTHON TUTORIALSðŸ”ļ bit.ly/python-programming-tuto...
    ✅ PYTHON BEHAVE TUTORIALSðŸ”ļ bit.ly/python-behave-tutorial
    ✅ PRACTITEST TUTORIALðŸ”ļ bit.ly/practitest-tutorial
    ✅ JAVA TUTORIALðŸ”ļ bit.ly/2F1iL1B
    ✅ ZEPHYR TUTORIALðŸ”ļ bit.ly/zephyr-for-jira-tutorials
    ðŸ”ķ ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL ðŸ”ķ
    training.rcvacademy.com/
    ðŸ”ķ FOLLOW US ON TWITTER ðŸ”ķ
    / rcvacademy
    / swtmentor
    / mrmverma
    ðŸ”ķ LIKE US ON FACEBOOK ðŸ”ķ
    / softwaretestingmentor
    / rcvacademy47
    ðŸ”ķ OUR TUTORIAL WEBSITES ðŸ”ķ
    www.softwaretestingmentor.com
    www.rcvacademy.com
    ðŸ”ķ GET MY TRAININGS ON UDEMY ðŸ”ķ
    www.udemy.com/user/manish68/
    #PyTestTutorial #PyTest #LearnPyTest #PyTestforBeginners #SeleniumPython #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
    Join this channel to get access to perks:
    / @softwaretestingmentor

āļ„āļ§āļēāļĄāļ„āļīāļ”āđ€āļŦāđ‡āļ™ • 16

  • @lacrimosa0722
    @lacrimosa0722 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +5

    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!

    • @softwaretestingmentor
      @softwaretestingmentor  2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

      You're most welcome.
      Keep watching for more videos.

  • @piyushvadhel1676
    @piyushvadhel1676 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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.

  • @Shubham-ec8ly
    @Shubham-ec8ly āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™

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

    • @softwaretestingmentor
      @softwaretestingmentor  āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™

      Glad to hear that. Keep watching and sharing.

  • @prudhviraj1117
    @prudhviraj1117 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    thank you for the tutorials it is very helpul to me

    • @softwaretestingmentor
      @softwaretestingmentor  2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

      You are welcome!
      Keep watching for more videos.

  • @johnsnow007
    @johnsnow007 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

    âĪïļ you are great teacher âĪïļ

  • @SanithMohanCase305
    @SanithMohanCase305 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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

    • @DaO-om8ns
      @DaO-om8ns 7 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™ +1

      Sometimes I really believe comments are the best for resolving minor problems. The real example was this comment. Thanks a lot @SanithMohanCase305

  • @rohithsj5066
    @rohithsj5066 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

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

  • @Rahul-fq9kf
    @Rahul-fq9kf 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

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

  • @Zack-ni3vz
    @Zack-ni3vz 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

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

  • @miker883
    @miker883 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

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

  • @miker883
    @miker883 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

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

    • @sujitmundhe2024
      @sujitmundhe2024 5 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™

      python -m pytest worked for me