Python Unit Testing With PyTest 1 - Getting started with pytest

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 24

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  6 років тому +5

    Gist of code I used in this video - gist.github.com/pknowledge/5c4e6ffabfb6d394746d81f03e9eb74c

  • @mohammadibrahim5429
    @mohammadibrahim5429 Рік тому

    Very nice tutorial on Pytest. Thanks

  • @SadhanaNande-zi1ch
    @SadhanaNande-zi1ch 2 місяці тому

    Thank you. very informative.

  • @KwamePaquin
    @KwamePaquin Рік тому

    cool video)

  • @ClevergunsYT
    @ClevergunsYT 6 років тому +2

    Nice. Pls make a video for front and back end programming. One of the great channels here in youtube

  • @usamaamir2511
    @usamaamir2511 4 роки тому +1

    Is it necessary to ise prefix test in file name?

  • @TopVideos-pe5xh
    @TopVideos-pe5xh 6 років тому +1

    nice video

  • @Travellife8877
    @Travellife8877 5 років тому

    you always amaze me with your videos and some helpful tips

  • @RohitYadav-jz6xs
    @RohitYadav-jz6xs 3 роки тому

    Hi thanks for the video.
    I have installed python for all user. But when i installed pytest it is getting installed in particular .
    SO i am not able to use pytest feature. how should i solve this issue.
    need your help
    Thanks

  • @ethelyulianatejadarojas363
    @ethelyulianatejadarojas363 4 роки тому

    Nice video Thanks a lot. I would like to know if you can run the test from a third python file instead of the command prompt

    • @smaxiso
      @smaxiso 3 роки тому

      you can use pyspark module for that purpose

  • @rahulnolakha4784
    @rahulnolakha4784 4 роки тому

    Hi ProgrammingKnowledge, i want complete tutorial on pytest and unittest module in python.Please reply

  • @extropiantranshuman
    @extropiantranshuman 4 роки тому

    3:46 It seems that my command prompt doesn't recognize 'pip'

    • @aprilbeson2073
      @aprilbeson2073 4 роки тому +1

      In case you are sure you have pip installed, try running it as pip3 (assuming that you have python3). This did it for me.

  • @alextatarkin6154
    @alextatarkin6154 5 років тому

    Thank you very much! The video is usefull. Now watching it I'am starting to understend what is the PyTest.

  • @masonmarcobello3164
    @masonmarcobello3164 4 роки тому

    when I write pytest it says command not found??
    I have the latest version of python installed though

    • @waseem1162
      @waseem1162 3 роки тому

      i think you need to install pytest library itself.

  • @masonmarcobello3164
    @masonmarcobello3164 4 роки тому

    when I enter pip3 into the terminal it says: error unknown command

  • @dipankarkaushik5285
    @dipankarkaushik5285 6 років тому

    At 11:32 why is there written [ 50%] rightmost of test_mathfunc.py::test_add PASSED ?
    Please reply back.

    • @ProgrammingKnowledge
      @ProgrammingKnowledge  6 років тому +3

      It's the percentage of test finished. So for two tests 50,100. For three test 33,66,100 . For 4 tests you will see 25,50,75,100 and so on

    • @dipankarkaushik5285
      @dipankarkaushik5285 6 років тому

      @@ProgrammingKnowledge Thank you for the reply.

  • @ChanceTEK
    @ChanceTEK 2 роки тому

    Thank you.

  • @mandeepsandhu1070
    @mandeepsandhu1070 5 років тому

    thanks its really useful

  • @ajinkyadhotre3502
    @ajinkyadhotre3502 6 років тому

    Python