Open eddie0329 opened 4 years ago
This chapter will cover following 3 questions
unit tests
, e2e tests
, and snapshot tests?There are 2 kinds of tests.
Manual testing works great for small projects, however when your app grows to a certain size, relyiung on manual testing becomes a burden.
unit tests
, e2e tests
, and snapshot tests
.pros:
cons:
pros:
cons:
pros:
cons:
Focus only one of tests is not suitable. Combine them all!
Preface
This is summary of book,
Testing Vue.js Applications
by Edd Yerburgh. The example codes will be posted and it will be linked at the content.Index
- Chapter 1. Introduction to testing Vue Applications
- Chapter 2. Creating your first test
- Chapter 3. Testing rendered component output
- Chapter 4. Testing component methods
- Chapter 5. Testing events
- Chapter 6. Understanding Vuex
- Chapter 7. Testing Vuex
- Chapter 8. Organizing tests with factory functions
- Chapter 9. Understanding Vue Router
- Chapter 10. Testing Vue Router
- Chapter 11. Testing mixins and filters
- Chapter 12. Writing snapshot tests
- Chapter 13. Testing server-side rendering
- Chapter 14. Writing end to end tests