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

Sdílet
Vložit
  • čas přidán 6. 03. 2018
  • Edd Yerburgh - Unit testing Vue components Why test, what to test, and how to test Vue components
    Slides: slides.com/eddyerburgh/testing...
    Tweet? vuejsamsterdam
    Frontend Developer Love Conference in Amsterdam
    www.frontenddeveloperlove.com
    Stay posted on our latest news, javascript and frontend events and talks for free via: eepurl.com/dhyQbT

Komentáře • 19

  • @edwardwardell-yerburgh378
    @edwardwardell-yerburgh378 Před 6 lety +44

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

    • @somascope1834
      @somascope1834 Před 6 lety +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 Před 6 lety

      Is the book released yet?

    • @edwardwardell-yerburgh378
      @edwardwardell-yerburgh378 Před 6 lety

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

    • @PJo336
      @PJo336 Před 6 lety

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

    • @DemanaJaire
      @DemanaJaire Před 6 lety

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

  • @B3lzeboss
    @B3lzeboss Před 6 lety +5

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

  • @longingheart77
    @longingheart77 Před 5 lety

    Great talk, thank you Edd

  • @dean6046
    @dean6046 Před 5 lety

    Thanks!

  • @tomvoorneveld
    @tomvoorneveld Před 6 lety +2

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

    • @leopiccionia
      @leopiccionia Před 6 lety

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

    • @tomvoorneveld
      @tomvoorneveld Před 6 lety

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

    • @edwardwardell-yerburgh378
      @edwardwardell-yerburgh378 Před 6 lety +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.

  • @hellocheng7071
    @hellocheng7071 Před 3 lety

    这大长腿

  • @senseibas8199
    @senseibas8199 Před 4 lety

    Thanks!