@repetition/autotest-cli
v1.0.11
Published
测试平台-自动化用例执行工具
Downloads
29
Readme
测试平台-自动化-CLI执行工具
开始
autotest-cli 依赖 NodeJs, 请先安装 NodeJs
安装
npm install -g @repetition/autotest-cli命令行选项
autotest [command] [options]
- autotest run -h 显示帮助信息
E:\>autotest run -h
Usage: index run [options]
运行测试
Options:
-d, --debug 开启调试模式
-host <host> 指定服务器地址
-port <port> 指定服务器端口
-e, --env <env> 指定环境id
-s, --scene <scene> 指定场景id
-t, --tree <tree> 指定文件夹id
-h, --help 显示帮助信息- autotest run -t xxx -e xxx
-t xxx 指定文件夹id
-e xxx 指定环境id- autotest run -s xxx -e xxx
-s xxx 指定场景id
-e xxx 指定环境id- 指定服务器地址
autotest run -s xxx -e xxx -host 127.0.0.1 -port 20001
-host 127.0.0.1 指定服务器地址
-port 20001 指定服务器端口