# Testing Vue apps
Testing has always been a scary topic for beginners. Vue being a framework and most often working with
.vue files has its specifics when it comes to unit testing. The tooling around Vue tries to make the testing experience as painless as possible.
E2E tests however, follow the same path as any other modern web application, so its up to you to choose a tool to test with.
Tip: If you are using Vue-CLI, it comes with Unit and E2E testing setup out of the box, so you dont have to setup anything.
- Use Vue CLI to setup your projects
- Choose Cypress for e2e tests
- Choose Jest for unit tests
- Use Vue Test Utils as a utility testing library
# Most popular testing setups
Vue does not have a specific testing framework of its own, but most people are using Jest as their unit testing framework of choice. It has an easy to remember API, flexible assertion mechanics and with a large community behind it, you can find many plugins and solutions to common problems.
If you want to read a book about testing you can give our Vue Testing Books page a look.
# Courses and more
There are many tutorials and courses out there, however we will show a few that are very well written and considered a "must read".
- Vue Test Utils - The official Vue Test Utils guides. Full of tips on how to test using Vue Test Utils, Jest, Mocha and more.
- Vue Testing Handbook - A very well written and focused book on testing Vue apps with Vue Test Utils by Vue Test Utils maintainer.
- afontcu.dev - A very well written blog, full of testing tips and tutorials, authored by Vue Test Utils maintainer.
- An Introduction To Vue Testing With Jest - Video tutorial on Unit testing with Jest and Vue Test Utils
- Unit Test Your First Vue.js Component - A very well written introduction to testing Vue Components.
- Knowing what to test - A guide on what to test in a Vue component for maximum efficiency.
- Ui testing best practices - A collection of best practices and tips when testing UI.
- Test Driven Development in Vue with Cypress - Talk on Test Driven Development with Cypress.
- Static vs Unit vs Integration vs E2E Testing for Frontend Apps - Answer to the long answered question (uses React but concepts are the same)