quasar-test-setup

This is a HowTo repository for setting up unit test and e2e test in Quasar Framework.


Project maintained by anyTV Hosted on GitHub Pages — Theme by mattgraham

Quasar Test Setup

This is a HowTo repository for setting up unit test and e2e test in Quasar Framework.

Like most of you, I have been frustrated with setting up test environments in Quasar. Although the Vue JS community has put a lot of effort in making project templates, it is not quite easy to just copy the test configuration and import in a quasar project. Quasar Framework is a handy framework for frontend development and it is pretty robust when it comes to commonly used components. And of course, for some of us that wants quality to be assured, test setup is necessary.

Setting Up

Read these docs.

Feel free to file an issue or create a PR for enhancements and fixes.

You can also use this repo as base template of your quasar project.

# install dependencies
$ npm install

# serve with hot reload at localhost:8080
$ npm run dev

# build for production with minification
$ npm run build

# lint code
$ npm run lint

# run unit test
$ npm run unit

# run e2e test
$ npm run e2e

# watch unit test
$ npm run tdd