Full Stack Radio

84: Edd Yerburgh - Testing Vue.js Components


Listen Later

Topics include:

  • Challenges with testing Vue components prior to vue-test-utils
  • How vue-test-utils works and what it looks like to test a component
  • Choosing a test runner
  • Common mistakes people make when testing their components
  • Mocking and stubbing external dependencies
  • Combining unit testing with snapshot testing

Sponsors:

  • Codeship, check out how they performed in Forrester's latest Continuous Integration Tools report
  • Rollbar, sign up at https://rollbar.com/fullstackradio to try their Bootstrap Plan free for 90 days

Links:

  • vue-test-utils on GitHub
  • vue-test-utils Documentation
  • "Testing Vue.js Applications", Edd's book
  • Enzyme testing utility for React
  • jsdom
  • Jest, Edd's recommended test runner
  • mocha-webpack
  • Mocking in Jest
  • Snapshot testing in Jest
  • Async Vue components
...more
View all episodesView all episodes
Download on the App Store

Full Stack RadioBy Adam Wathan

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

179 ratings


More shows like Full Stack Radio

View all
Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

987 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,076 Listeners