RSpec Tutorial #4: Using let and before hooks

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 20

  • @morganaborges9255
    @morganaborges9255 3 ปีที่แล้ว +2

    I just started in a new company and found a lot of 'lets'. I am begginer using RSpec and was wondering what those 'lets' meant. You made it simple to understand. I am watching all your tutorials regarding RSpec and is helping a lot to understand the tests that my company made.

  • @haroldpepete
    @haroldpepete 3 ปีที่แล้ว +2

    yo do a great job, you talk clear and English is not my native language but i can understand you perfectly, thank

  • @Paparoo24
    @Paparoo24 2 ปีที่แล้ว

    You make this very simple and easy to understand. Thank you

  • @Dostendite
    @Dostendite 4 หลายเดือนก่อน

    Very useful! Thanks!

  • @Toby-Savage
    @Toby-Savage 3 ปีที่แล้ว

    I'm learning ruby for my SWE internship. This video helped clarify a few things on testing. Thanks!

  • @jakemorales7949
    @jakemorales7949 3 ปีที่แล้ว +1

    Nit @7:41. You can’t put let variables in an “it” block.
    Great video!

  • @CharlesDv
    @CharlesDv 3 ปีที่แล้ว +1

    it was perfect! thanks

  • @irakli.asatiani
    @irakli.asatiani 2 ปีที่แล้ว

    Hey man what's your keyboard? sounds really cool

  • @barmannphoto
    @barmannphoto 3 ปีที่แล้ว +1

    Thanks for these videos, Conner. One question. Sometimes you use Rspec.describe, and sometimes it's just describe. Why is that?

    • @pradeepkumar-by9io
      @pradeepkumar-by9io 3 ปีที่แล้ว

      As of Rpec 3 you can disable the global availability of describe by limiting the domain specific language (dsl).
      Prefixing with Rspec.describe ensures tests will still run after implementing the limitation.

    • @connerjensen8170
      @connerjensen8170  3 ปีที่แล้ว

      This stack overflow post explains the difference stackoverflow.com/questions/24747448/rspec-describe-vs-describe
      Basically, it's probably better to use RSpec.describe but as long as you don't disable the expose_dsl_globally config setting then you can use both.

  • @Dostendite
    @Dostendite 4 หลายเดือนก่อน

    Any Odinites?

  • @sheko4515
    @sheko4515 5 หลายเดือนก่อน

    Where is part 3?

    • @Dostendite
      @Dostendite 4 หลายเดือนก่อน

      that's what I was wondering

  • @barabas0077
    @barabas0077 3 ปีที่แล้ว +1

    VVoooVVV