Toggle Navigation
Each
Pod
Each
Pod
Podcasts
Episodes
Genres
Login
Full Stack Radio
84: Edd Yerburgh - Testing Vue.js Components
84: Edd Yerburgh - Testing Vue.js Components
Author
Adam Wathan
Published
Wed 14 Mar 2018
Episode Link
https://share.transistor.fm/s/626db27e
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
Share to: