aria-vue
aria-vue
Simple testing tools for vuejs
Installation
npm install --save-dev aria-vue aria-mocha puppeteer
Example Code
npm installnpm run buildcd examplenpm 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.jsfile
import { createVueTestPlugin } from 'aria-vue'
export default {
plugins: [
createVueTestPlugin({
script: './test/plugins.js',
watch: true
})
]
}
vite --config vite.config.test.js
Related Packages
test-publish-xiaohe
Powerful, table components optimized for large amounts of data, based on Vue2.0
554
Version History
| Version | Released | License |
|---|---|---|
| 0.4.1 | MIT | |
| 0.4.0 | MIT | |
| 0.3.10 | MIT | |
| 0.3.9 | MIT | |
| 0.3.8 | MIT | |
| 0.3.7 | MIT | |
| 0.3.6 | MIT | |
| 0.3.5 | MIT | |
| 0.3.4 | MIT | |
| 0.3.3 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.0.2 | ISC | |
| 0.0.1 | ISC |
Pre-releases (7)
| Version | Released | License |
|---|---|---|
| 0.4.1-beta.3 | MIT | |
| 0.4.1-beta.2 | MIT | |
| 0.4.1-beta.1 | MIT | |
| 0.4.1-beta.0 | MIT | |
| 0.4.0-beta.3 | MIT | |
| 0.4.0-beta.2 | MIT | |
| 0.4.0-beta.1 | MIT |