Gathering detailed insights and metrics for @quasar/quasar-app-extension-testing-unit-jest
Gathering detailed insights and metrics for @quasar/quasar-app-extension-testing-unit-jest
Gathering detailed insights and metrics for @quasar/quasar-app-extension-testing-unit-jest
Gathering detailed insights and metrics for @quasar/quasar-app-extension-testing-unit-jest
@quasar/quasar-app-extension-testing-unit-vitest
A Quasar App Extension for running tests with Vitest
@quasar/quasar-ui-qcalendar
QCalendar - Day/Month/Week Calendars, Popups, Date Pickers, Schedules, Agendas, Planners and Tasks for your Vue Apps
quasar
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
@quasar/app-vite
Quasar Framework App CLI with Vite
npm install @quasar/quasar-app-extension-testing-unit-jest
@quasar/testing-unit-vitest v1.1.0
Published on 28 Aug 2024
@quasar/testing-e2e-jest v3.0.1
Published on 10 Jul 2024
@quasar/testing-e2e-jest v3.0.0
Published on 20 Jun 2024
@quasar/testing-e2e-cypress v6.1.0
Published on 17 Apr 2024
@quasar/testing-unit-vitest v1.0.0
Published on 01 Mar 2024
@quasar/testing-e2e-cypress v6.0.0
Published on 01 Mar 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
179 Stars
620 Commits
66 Forks
11 Watching
22 Branches
32 Contributors
Updated on 06 Nov 2024
TypeScript (47.13%)
JavaScript (26.95%)
Vue (22.81%)
HTML (2.03%)
SCSS (0.95%)
Sass (0.09%)
CSS (0.04%)
Cumulative downloads
Total Downloads
Last day
-13.3%
1,802
Compared to previous day
Last week
-4.2%
8,132
Compared to previous week
Last month
-5.9%
35,017
Compared to previous month
Last year
-36.1%
426,746
Compared to previous year
@quasar/testing
This is the monorepo for integrating the test-runner of your choice into your Quasar app.
You can install multiple pre-rigged testing harnesses (test runners) to your Quasar application, each one will:
App Extensions (such as these testing harnesses) only work with Quasar CLI, not with Vue CLI, nor by directly installing packages via a package manager as npm or yarn. Use
quasar ext add ...
or the installation step won't be executed and configuration files won't be copied over.
Testing is not in and of itself hard. The most complicated part is setting up the testing harness. The trick lies in knowing what to test. If you are new to testing, it is absolutely imperative that you familiarize yourself with some of the concepts and patterns. There are some links for further reading at the end of this document page.
The Test Driven Design approach will help you to write better (and fewer) tests. Even though it may seem like it slows you down to some degree, this habit pays its dividends on the long term drastically reducing the number of public bugs and the project maintenance effort. Think of tests like insurance for your code that always pays out. On the other hand, not everything is worth being tested, or is worth being tested only at an higher level (eg. using an E2E tests instead of unit tests).
Provided App Extensions
Testing Harnesses Manager (DEPRECATED)
Unit testing
E2E testing
Quality Auditing (OUTDATED, not migrated to Qv2 yet)
The Quasar team spend a considerable amount of time studying, coding and maintaining App Extensions (AE) which save literally thousands of developers hours, days or weeks of work.
Does your business or personal projects depend on these App Extensions? How much time did we save you until now? Consider donating to help us maintain them and allow us to create new ones!
You can add test harnesses:
You can add multiple harnesses and even use them into your continuous integration pipelines.
You can remove a testing harness running:
1$ quasar ext remove @quasar/testing-unit-jest
This will remove the associated NPM package and run the Quasar App Extensions uninstall hook. If not done into the AE uninstall hook, the removal won't delete test or configuration files.
If you mess up your configuration and need to reset, or just want to check out if there has been any changes into new versions configuration, you should run:
1$ quasar ext add @quasar/testing-unit-jest
Be careful though, this will overwrite ALL existing files (including configurations) if you allow it to. Make sure to have some kind of version control in place before proceeding. This operation will also upgrade the NPM package and its dependencies.
To prevent installing new or updated dependencies, you should run:
1$ quasar ext invoke @quasar/testing-unit-jest
You can upgrade a testing harness and its dependencies by updating its related NPM package.
$ yarn add -D @quasar/quasar-app-extension-testing-unit-jest
This won't change existing test or configuration files.
When upgrading between major versions, since there are major changes, we suggest you to remove and re-add the AE, to obtain lastest configuration files too.
Ensure your source control is clean before proceeding, then answer (y) and "Overwrite all" when prompted to overwrite existing files and individually git diff
all changes manually to check out which changes you want to keep and which you want to revert.
1$ quasar ext remove @quasar/testing-unit-jest 2$ quasar ext add @quasar/testing-unit-jest
Check out Testing Harnesses Manager AE documentation
Check out Jest AE documentation
Check out Vitest AE documentation
We recommend testing webapps with Cypress if you target Chrome-based browsers (Chrome, Edge, Electron) or Firefox - but if you want to test Safari or Cordova/Capacitor apps, then you should consider using webdriver.io.
Check out Cypress AE documentation
1$ quasar ext add @quasar/testing-quality
Auditing the quality of your app is something you want to do before you go in production. Depending on your perspective, quality can mean many things. So we have put together a few tools that we think can help you have a qualitatively better project.
The Lighthouse
tool can help you identify issues with your PWA app, but only if you serve the built version of your project. If you use it a lot, consider installing it globally.
Snyk
is a tool for identifying node modules that have security implications. Running this regularly will keep you alerted to issues that may be stemming from repositories you use.
Node License Finder (nlf)
is a free tool you can use to catalog all the licenses of the hundreds of open-source projects you are using in your project.
@vue/test-utils
repoContributions to this repository are highly desirable, see the Contribution Guidelines for more details. Please note: project coordination takes place on the Discord server.
MIT ©2022 - present - Paolo Caleffi & Razvan Stoenescu
All Icons © the respective owners
No vulnerabilities found.
Reason
7 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/23 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
50 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More