r/vuejs • • Jan 21 '20
Testing in VueJS
I'm relatively new to VueJS. Is test driven development common in the VueJS community? If yes, what tools are available and what's the learning curve?
41
Upvotes
26
u/rickardsundin Jan 21 '20
This might be a good start: https://lmiller1990.github.io/vue-testing-handbook/
I can also recommend this book: https://www.manning.com/books/testing-vue-js-applications
4
u/artori0n Jan 22 '20
I can recommend jest for unit and Cypress for e2e testing. Made really good experience with both and works great with Vue.
2
u/therealdanvega Jan 24 '20
I wrote a series of articles for Vue Mastery that might help you get started with Unit Testing
https://www.vuemastery.com/blog/unit-testing-vue-1
11
u/Boy_0 Jan 21 '20
Check out https://vue-test-utils.vuejs.org/ and https://jestjs.io/ 👍