https://github.com/anytv/quasar-test-setup
This is a HowTo repository for setting up unit test and e2e test in Quasar Framework.
https://github.com/anytv/quasar-test-setup
quasar-framework testing vue
Last synced: 3 months ago
JSON representation
This is a HowTo repository for setting up unit test and e2e test in Quasar Framework.
- Host: GitHub
- URL: https://github.com/anytv/quasar-test-setup
- Owner: anyTV
- License: mit
- Created: 2017-12-20T02:53:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T06:27:04.000Z (over 8 years ago)
- Last Synced: 2025-02-09T17:14:33.225Z (over 1 year ago)
- Topics: quasar-framework, testing, vue
- Language: JavaScript
- Homepage: https://anytv.github.io/quasar-test-setup
- Size: 40 KB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/vuejs-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](http://quasar-framework.org/components).
And of course, for some of us that wants quality to be assured, test setup is necessary.
## Setting Up
Read the [docs](docs/). All the steps are in there.
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.
``` bash
# 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
```