Skip to content
Home/ Testing Vue.Js Applications
Testing Vue.Js Applications
Save Ask us

Testing Vue.Js Applications

No customer reviews yet ISBN 9781617295249
Published
Dec 2018
Language
English
$41.88 $44.99 6% off
You save $3.11 · list price $44.99
In stock soon — order now to reserve your copy
This book can take longer to arrive. Shipping policy
Qty
Sign in to Add to Saved list
Free delivery over $35 · 15-day returns

Condition

Brand New

An unread, unused copy: no writing or highlighting, and no missing or damaged pages. Every book we sell is brand new, including our lowest-priced titles.

About this book

Summary

Testing Vue.js Applications is a comprehensive guide to testing Vue components, methods, events, and output. Author Edd Yerburgh, creator of the Vue testing utility, explains the best testing practices in Vue along with an evergreen methodology that applies to any web dev process.

About the Technology

Web developers who use the Vue framework love its reliability, speed, small footprint, and versatility. Vue's component-based approach and use of DOM methods require you to adapt your app-testing practices. Learning Vue-specific testing tools and strategies will ensure your apps run like they should.

About the Book

With Testing Vue.js Applications, you'll discover effective testing methods for Vue applications. You'll enjoy author Edd Yerburgh's engaging style and fun real-world examples as you learn to use the Jest framework to run tests for a Hacker News application built with Vue, Vuex, and Vue Router. This comprehensive guide teaches the best testing practices in Vue along with an evergreen methodology that applies to any web dev process.

What's inside

  • Unit tests, snapshot tests, and end-to-end tests
  • Writing unit tests for Vue components
  • Writing tests for Vue mixins, Vuex, and Vue Router
  • Advanced testing techniques, like mocking

About the Reader

Written for Vue developers at any level.

About the Author

Edd Yerburgh is a JavaScript developer and Vue core team member. He's the main author of the Vue Test Utils library and is passionate about open source tooling for testing component-based applications.

Table of Contents

  1. Introduction to testing Vue applications
  2. Creating your first test
  3. Testing rendered component output
  4. Testing component methods
  5. Testing events
  6. Understanding Vuex
  7. Testing Vuex
  8. Organizing tests with factory functions
  9. Understanding Vue Router
  10. Testing Vue Router
  11. Testing mixins and filters
  12. Writing snapshot tests
  13. Testing server-side rendering
  14. Writing end-to-end tests
  • APPENDIXES
  • A - Setting up your environment
  • B - Running the production build
  • C - Exercise answers

Specifications

PublishedDec 17, 2018
ISBN-101617295248
ISBN-139781617295249
LanguageEnglish

Buying from Saanjhi

  • Ships from the USA. Delivery to US addresses only.
  • Free delivery on orders over $35.
  • 15-day returns. Unless we send the wrong book or it arrives damaged, you pay return shipping and a 15% restocking fee.
  • Secure checkout. We never store card details.