Hi @rstoenescu ,
I was thinking that it would be really useful to provide some configurations for unit and e2e tests.
Most of test and Webpack configuration is already available in the vue-cli webpack template.
In particular, it would be great to have configured npm scripts to:
npm run unit: Unit tests run in PhantomJS with Karma + Mocha + karma-webpack.
npm run e2e: End-to-end tests with Nightwatch.
What do you think about this? Is this something you could spend some time on, maybe targeting 0.15 version?
Thanks again for your work on Quasar :)
Hi,
Yes, this was available some time ago until the switch to Vue 2.0. It got removed due to some issues with the router but it's on the roadmap to bring it back again.
Closing bug since the default template repo would be more appropriate for this and is duplicate of https://github.com/quasarframework/quasar-template-default/issues/4.
Thanks for the kind words and stay tuned for updates!
Cheers,
Razvan
Hi, @rstoenescu! Is there any news about tests using quasar?
Not yet, sorry.
I am having a very big problem with installing unit test for project created by quasar cli. :( I can not integrate unit tests into a project
@diepvv try using this template https://github.com/Arushi-Jain/quasar-starter-kit for your project.
it downloads the dependencies on it's own and you just have to use " npm run test "
Most helpful comment
Hi,
Yes, this was available some time ago until the switch to Vue 2.0. It got removed due to some issues with the router but it's on the roadmap to bring it back again.
Closing bug since the default template repo would be more appropriate for this and is duplicate of https://github.com/quasarframework/quasar-template-default/issues/4.
Thanks for the kind words and stay tuned for updates!
Cheers,
Razvan