Edd Yerburgh - Unit testing Vue components Why test, what to test, and how to test Vue components

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 19

  • @B3lzeboss
    @B3lzeboss 6 лет назад +5

    Edd is a amazing developer, I follow his job since avoriaz, congratz for the talk

  • @edwardwardell-yerburgh378
    @edwardwardell-yerburgh378 6 лет назад +44

    I was so focussed on the talk, I didn't notice my cursor was in the middle of the screen! 😂

    • @somascope1834
      @somascope1834 6 лет назад +1

      Hah! I didn't either for a good while. But I was distracted by your excellent talk. Thanks for this - looking forward to your book this summer.

    • @PJo336
      @PJo336 6 лет назад

      Is the book released yet?

    • @edwardwardell-yerburgh378
      @edwardwardell-yerburgh378 6 лет назад

      It's released on an early access program-www.manning.com/books/testing-vuejs-applications. It will be released fully this Summer

    • @PJo336
      @PJo336 6 лет назад

      Awesome! It is rare to find a huge book on exactly the niche topic you wanted , you are the man!

    • @DemanaJaire
      @DemanaJaire 6 лет назад

      Love your accent. Makes listening to you so much more enjoyable.

  • @tomvoorneveld
    @tomvoorneveld 6 лет назад +2

    Excellent. Really!
    Question: starting to wonder why you don't write tests in the same SFC file ... ?

    • @leopiccionia
      @leopiccionia 6 лет назад

      You can do it! Edd himself wrote vue-test-loader, that extracts the content of tags into *.spec.js files.

    • @tomvoorneveld
      @tomvoorneveld 6 лет назад

      leopiccionia thank you... Would you have Pointer to pros and cons discussion for this approach?

    • @edwardwardell-yerburgh378
      @edwardwardell-yerburgh378 6 лет назад +1

      Hi Tom, the pro is that your tests are inside the component they're testing! That's powerful colocation. The downside is that not all editors provide highlighting to blocks.

  • @longingheart77
    @longingheart77 5 лет назад

    Great talk, thank you Edd

  • @dean6046
    @dean6046 6 лет назад

    Thanks!

  • @hellocheng7071
    @hellocheng7071 3 года назад

    这大长腿

  • @senseibas8199
    @senseibas8199 5 лет назад

    Thanks!