第一个端对端测试
1. 初始化测试项目
$ npm i matman --save{
"name": "matman-demo-getting-started",
"version": "1.0.0",
"scripts": {
"build": "matman build",
"build-dev": "matman build --dev"
},
"dependencies": {
"matman": "^4.0.7"
}
}2. 配置 matman.config.js
3. 编写端对端测试模块
3.1 编写爬虫脚本
1. 初始化测试项目

2. 安装 npm 依赖
3. 试运行
6. 新增 tester 测试对象
Last updated
Was this helpful?