Skip to product information
Testing Vue.Js Applications

Testing Vue.Js Applications

By Edd Yerburgh

Sale price  402,00 kr Regular price  484,00 kr
Save 16%
Our Price Match Guarantee

Free 30-day UK returns - see our refund policy

Price match guarantee - we match UK retailers' prices
Payment methods
  • American Express
  • Apple Pay
  • Diners Club
  • Discover
  • Google Pay
  • Klarna
  • Maestro
  • Mastercard
  • Shop Pay
  • Union Pay
  • Visa

Description

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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. 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

Book details

Author
Edd Yerburgh
Publisher
Manning Publications
Publication date
Pages
272
ISBN-13
9781617295249
Language
English
Dimensions
233.7 × 185.4 × 12.7 mm
Weight
453.6 g

In stock · delivered in 2–3 working days Express International delivery available. Shipping policy

You may also like:

Subscribe and get 10% off!

Be the first to know about new collections and special offers.

Frequently Asked Questions

Delivery: In-stock orders are dispatched within 1 working day (Monday–Friday). Standard UK delivery is £2.99, free on orders over £35, and usually takes 2–4 working days after dispatch. Express International delivery is available to 21 more countries — see our Shipping Policy.

Returns: Free 30-day returns on UK orders. If a book arrives damaged, faulty or not as described, we'll refund or replace it free of charge — you usually won't need to send it back. Changed your mind? Contact us within 30 days of delivery. International orders also have 30 days: damaged or faulty books are refunded or replaced free; if you change your mind, the return postage is yours. Refund policy.

Sourcing: All books are brand new, sourced direct from UK publishers and distributors. We buy in bulk to pass the savings on to you.

What's your return policy?

Free 30-day returns on UK orders. If a book arrives damaged, faulty or not as described, we'll refund or replace it free of charge — you usually won't need to send it back. Changed your mind? Contact us within 30 days of delivery. International orders also have 30 days: damaged or faulty books are refunded or replaced free; if you change your mind, the return postage is yours. Read our refund policy.

When will I get my order?

In-stock orders are dispatched within 1 working day (Monday–Friday), and UK delivery usually takes 2–4 working days after dispatch. For Express International delivery to 21 more countries, see our Shipping Policy.

Do you price match?

Yes. Seen the same new book (same ISBN and format) cheaper at a UK retailer? Email support@foxandfable.com before you buy and we'll send you a code to match their price. Delivery charges aren't included. See our Price Match Guarantee for eligible retailers.

How much does shipping cost?

Standard UK delivery is £2.99, and free on orders over £35. We also offer Express International delivery to 21 more countries — see our Shipping Policy for rates.

Are your books new? How are they so cheap?

Yes — all of our books are brand new, sourced direct from UK publishers and distributors. By buying in bulk direct from publishers and distributors, we secure lower trade costs and pass those savings on to you.