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