All Projects → aelbore → aria-vue

aelbore / aria-vue

Licence: other
Testing tools for Vue components

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to aria-vue

javascript-unit-testing-with-mocha
Unit test using Mocha and Chai
Stars: ✭ 104 (+395.24%)
Mutual labels:  mocha, chai, unit-test
vitext
The Next.js like React framework for better User & Developer experience!
Stars: ✭ 376 (+1690.48%)
Mutual labels:  rollup, vite
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (+128.57%)
Mutual labels:  mocha, chai
api-skel
Webpack + Typescript + Express + Jest + Chai + Gulp
Stars: ✭ 18 (-14.29%)
Mutual labels:  mocha, chai
Redux Actions Assertions
Simplify testing of redux action and async action creators
Stars: ✭ 177 (+742.86%)
Mutual labels:  mocha, chai
firebase-functions-typescript-starter
Create & test Firebase Cloud Functions in TypeScript
Stars: ✭ 101 (+380.95%)
Mutual labels:  mocha, rollup
fetch-action-creator
Fetches using standardized, four-part asynchronous actions for redux-thunk.
Stars: ✭ 28 (+33.33%)
Mutual labels:  mocha, chai
Typescript Restful Starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
Stars: ✭ 97 (+361.9%)
Mutual labels:  mocha, chai
TvrboReact
Dream starter project: React, Redux, React Router, Webpack
Stars: ✭ 13 (-38.1%)
Mutual labels:  mocha, chai
howdyjs
一个包含Javascript插件、Vue3组件、Vue3指令的工具库
Stars: ✭ 77 (+266.67%)
Mutual labels:  rollup, vite
js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
Stars: ✭ 394 (+1776.19%)
Mutual labels:  mocha, chai
Earl
☕ Ergonomic, modern and type-safe assertion library for TypeScript
Stars: ✭ 153 (+628.57%)
Mutual labels:  mocha, chai
Cracking The Coding Interview Javascript Solutions Ctci
Javascript solutions to Cracking the Coding Interview (CTCI)
Stars: ✭ 139 (+561.9%)
Mutual labels:  mocha, chai
electron-template
Electron multiwindow mode template
Stars: ✭ 65 (+209.52%)
Mutual labels:  rollup, vite
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+66452.38%)
Mutual labels:  mocha, chai
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (+57.14%)
Mutual labels:  mocha, chai
template-server-nodejs
No description or website provided.
Stars: ✭ 20 (-4.76%)
Mutual labels:  mocha, chai
React Base
atSistemas React/Redux Isomorphic Platform
Stars: ✭ 82 (+290.48%)
Mutual labels:  mocha, chai
Karma Webpack Example
Karma + Webpack + Mocha + Chai + Istanbul
Stars: ✭ 88 (+319.05%)
Mutual labels:  mocha, chai
electron-vue-next
A starter template for using vue-next with the electron.
Stars: ✭ 189 (+800%)
Mutual labels:  rollup, vite

npm version License: MIT

aria-vue

Simple testing tools for vuejs

Note:

If you are using Vite 2.x, Please check https://github.com/aelbore/vite-plugin-test

Installation

  npm install --save-dev aria-vue aria-mocha puppeteer

Example Code

  • npm install
  • npm run build
  • cd example
  • npm test

Usage

aria-vue --help

  Usage
    $ aria-vue [options]

  Options
    -p, --port       port to use default(3000)
    -d, --dir        root directory of test files (default test)
    -w --watch       enable watch (default false)
    -H --headless    run test(s) in headless  (default false)
    --script         scripts or helper scripts to load before setup
    --path           virtual path for your html reporter
    --html           path of your index.html file
    -v, --version    Displays current version
    -h, --help       Displays this message

  Examples
    $ aria-vue -w -H --script ./test/plugin.js
    $ aria-vue --watch --path my-virtual-path --script ./test/plugin.js
    $ aria-vue --path test-ui --html ./test/index.html --script ./test/plugins.js

Plugin usage

  • Create vite.config.test.js file
import { createVueTestPlugin } from 'aria-vue'

export default  {
  plugins: [  
    createVueTestPlugin({
      script: './test/plugins.js',
      watch: true
    })
  ]
}
  • vite --config vite.config.test.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].