Last active
November 11, 2018 08:12
-
-
Save dcrystalj/6f61c053ac7a0f28179f4b28f49c630d to your computer and use it in GitHub Desktop.
Testing vue tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TESTING VUE: | |
education | |
Testing Vue.js Applications https://www.manning.com/books/testing-vue-js-applications | |
vue-test-utils docs https://vue-test-utils.vuejs.org/ | |
vue docs https://vuejs.org/v2/guide/unit-testing.html | |
vuex docs https://vuex.vuejs.org/guide/testing.html | |
testing | |
- unit | |
- rendered component output | |
- text content | |
- dom attributes | |
- how many components are rendered | |
- classes | |
- style | |
- component props | |
- events | |
- native dom events (clicks) | |
- custom vue event | |
- component emits event | |
- component listen for event | |
- forms | |
- input forms | |
- control inputs | |
- radio buttons | |
- jsdom limitation | |
- vuex | |
- test as instance | |
- or seperatly | |
- mutations | |
- getters | |
- actions | |
- vuex in components | |
- vue router | |
- mixins | |
- local | |
- global | |
- filters | |
- server side rendering | |
- factory | |
- component factory | |
- store factory | |
- wrapper factory | |
- mocks | |
- timer functions | |
- public component methods | |
- mock module dependencies | |
- async code | |
- integration | |
- snapshots | |
- end 2 end tests | |
- for routes | |
- for dynamic data | |
- multiple browsers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment