Testing Vue js Applications 1st Edition by Edd Yerburgh – Ebook PDF Instant Download/DeliveryISBN: 1638356189, 9781638356189
Full download Testing Vue js Applications 1st Edition after payment.
Product details:
ISBN-10 : 1638356189
ISBN-13 : 9781638356189
Author: Edd Yerburgh
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 Introduction to testing Vue applications Creating your first test Testing rendered component output Testing component methods Testing events Understanding Vuex Testing Vuex Organizing tests with factory functions Understanding Vue Router Testing Vue Router Testing mixins and filters Writing snapshot tests Testing server-side rendering Writing end-to-end tests APPENDIXES A – Setting up your environment B – Running the production build C – Exercise answers
Testing Vue js Applications 1st Table of contents:
Chapter 1. Introduction to testing Vue applications
1.1. Defining testing
1.2. Testing overview
1.3. Writing a Hacker News application
1.4. Vue testing overview
Summary
Chapter 2. Creating your first test
2.1. Understanding a Vue project structure
2.2. Introduction to Jest
2.3. Introduction to Vue Test Utils
2.4. Debugging tests with Chrome Debugger
Summary
Exercises
Chapter 3. Testing rendered component output
3.1. Creating test specifications
3.2. Testing rendered text
3.3. Testing DOM attributes
3.4. Testing how many components are rendered
3.5. Testing props
3.6. Testing classes
3.7. Testing style
3.8. When to test rendered component output
Summary
Exercises
Chapter 4. Testing component methods
4.1. Testing public and private component methods
4.2. Testing timer functions
4.3. Adding properties to the Vue instance
4.4. Mocking code
4.5. Mocking module dependencies
Summary
Exercises
Chapter 5. Testing events
5.1. Testing native DOM events
5.2. Testing custom Vue events
5.3. Testing input forms
5.4. Understanding the limitations of jsdom
Summary
Exercises
Chapter 6. Understanding Vuex
6.1. Understanding state
6.2. The problem Vuex solves
6.3. Understanding the Vuex store
Summary
Chapter 7. Testing Vuex
7.1. Understanding the store design
7.2. Adding Vuex to the project
7.3. Testing Vuex store parts separately
7.4. Testing a Vuex store instance
7.5. Testing Vuex in components
Summary
Exercises
Chapter 8. Organizing tests with factory functions
8.1. Understanding factory functions
8.2. Creating a store factory function
8.3. Overwriting default options in factory functions
8.4. Creating a wrapper factory function
Summary
Exercises
Chapter 9. Understanding Vue Router
9.1. Understanding routing
Summary
Chapter 10. Testing Vue Router
10.1. Testing router properties
10.2. Testing the RouterLink component
10.3. Using Vuex with Vue Router
Summary
Exercises
Chapter 11. Testing mixins and filters
11.1. Testing mixins
11.2. Testing filters
Summary
Exercises
Chapter 12. Writing snapshot tests
12.1. Understanding snapshot tests
12.2. Adding snapshot tests to your workflow
Summary
Exercises
Chapter 13. Testing server-side rendering
13.1. Understanding server-side rendering
13.2. Testing server-side rendered components
13.3. Testing status codes with SuperTest
13.4. Testing SSR implicitly
Summary
Exercises
Chapter 14. Writing end-to-end tests
14.1. Understanding end-to-end tests
14.2. Adding Nightwatch to a project
14.3. Writing end-to-end tests with Nightwatch
14.4. Running end-to-end tests in multiple browsers
People also search for Testing Vue js Applications 1st:
testing vue app
testing vue 3
testing vue
testing vue with jest
testing vue.js applications
Tags: Testing Vue, Applications, Edd Yerburgh, Vue components