Skip to content

Instantly share code, notes, and snippets.

@dcrystalj
Last active November 11, 2018 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcrystalj/6f61c053ac7a0f28179f4b28f49c630d to your computer and use it in GitHub Desktop.
Save dcrystalj/6f61c053ac7a0f28179f4b28f49c630d to your computer and use it in GitHub Desktop.
Testing vue tree
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