1.2.4 • Published 5 years ago

vue-src-to-specs v1.2.4

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

vue单元测试——根据src目录文件在test/unit/specs下生成对应测试文件的插件(Vue unit tests -- the plug-in to the test file is generated from the SRC directory file under test/unit/specs)

node支持版本:10.0以上(Node.js support version: 10.0 or above)

基于vue-mock测试生成目录结构;(Generate directory structure based on ue-mock test;)

安装(The installation)

    npm i vue-src-to-specs -D

用法: 引入.conf.js或者index.js,基于node.js运行;(Usage: .conf.js or index.js is introduced to run node.js.)

    const creatFiles = require('vue-src-to-specs');
    creatFiles(/* options */);

options配置实例: 非必须(options configuration instance: not required)

    options: {
        extensions: ['.vue', '.js']
        includes: ['src', '!src/**/*.html', '!src/**/*.js'],
        store: true
    }

说明:(Description)

如有其它建议,欢迎在GitHub上留言!!!(If you have any other Suggestions, please leave them on GitHub!!!)

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago