Productive pytest with PyCharm

Поділитися
Вставка

КОМЕНТАРІ • 22

  • @chrishuang-leaver6719
    @chrishuang-leaver6719 6 років тому +43

    Starts at 2:25

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

    Thank you - so useful! :) parameterize... mind blown... and the auto test run... and a lot of other useful jems! :)

  • @AfikAfikAfik
    @AfikAfikAfik 5 років тому +1

    I'm getting an error when trying to run the hello world test.
    Traceback (most recent call last):
    File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2\helpers\pycharm\_jb_pytest_runner.py", line 4, in
    import pytest
    ModuleNotFoundError: No module named 'pytest'
    Process finished with exit code 1
    Empty suite
    Any suggestions?

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

      Please try posting to our community forum.
      intellij-support.jetbrains.com/hc/en-us/community/topics/200379535-PyCharm

  • @vishnuvs6121
    @vishnuvs6121 6 років тому +7

    You must see this video in 1.5x speed.

  • @An_Otter_Dennis
    @An_Otter_Dennis 6 років тому +1

    Noob here, I did not clone the repo and tried to do it by myself with the setup and missed the "from setuptools import setup, find_packages " in the setup.py

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

    I appreciate Brian's effort but he must improve his live skills, as I believe many people felt lost on several moments during this webinar. I believe the book is much better

    • @MrSushant3
      @MrSushant3 6 років тому +1

      Have you read his book ? Would you recommend it to someone who wants to learn testing in Python once and for all.

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

      First time I watched it I fall asleep. The second time I searched the comments to find someone mentions this.

    • @GabrieleBonetti
      @GabrieleBonetti 6 років тому +1

      I did read it and I would recommend it. It's well written and full of examples.
      Just keep in mind that is a book on pytest and not on testing in general, but considering pytest is the de-facto standard for the foreseeable future, it's a good move to learn it.

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

      Agree. He may know a lot but could not collect his thoughts and explain his point of view. I lost often. On the otherside, he shows great stuffs.

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

      this was not my experience. I understood where he was going, indeed I wish in a few cases he could have jumped a few second out of the video so he could show more complete answers, while still keeping the pace. At 1.5 hours I would want it to be a touch SHORTER not LONGER. but that is me.

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

    I like his shirt :P

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

    Very informative webinar :)

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

    How'd he set up the functions on one side of the pane and tests on the other side? @16:04 mark

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

      In PyCharm, tool windows such as "Run" have a little gear in the header. Click on that, choose "Move to -> Right". I do that all the time on my wide external monitor...and if you have any other questions, reply to this comment. I love talking about this.

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

      @@pauleveritt201 thank you.

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

    WOW, great info!

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

    The interviewer was very disruptive and spoiled the flow of the presenter. The presenter, however, was very knowledgeable.

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

    I prefer a text editor :)