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

Поділитися
Вставка
  • Опубліковано 4 лис 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

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

    Thanks!

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

    这大长腿

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

    Thanks!