1.3.19 • Published 4 years ago

@xiyun/xy-plugin-test v1.3.19

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

test

简介

test 插件是针对于业务级(.vue)项目的测试工具。安装 test 插件后,目标项目不需要安装 jest、配置 babel。此插件可选,未集成到 Cli 中。

安装

如果想使用 xy-plugin-test 插件,首先需要安装 @vue/cli

yarn global add @xiyun/cli

再执行

yarn add @xiyun/xy-plugin-test

示例

命令如下:

xy test <regexForTestFiles> <--options>

运行所有测试(默认):

xy test

仅运行符合指定用模板或文件名的测试︰

xy test example.test.js

运行监视模式︰

xy test --watch

更多选项

更多选项可以参考 https://jestjs.io/docs/zh-Hans/cli

1.3.19

4 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.23

5 years ago

1.1.22

5 years ago

1.1.21

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.10

5 years ago