https://github.com/yourhe/autotest
基于指令的自动化测试服务
https://github.com/yourhe/autotest
autotest golang webtest
Last synced: about 1 month ago
JSON representation
基于指令的自动化测试服务
- Host: GitHub
- URL: https://github.com/yourhe/autotest
- Owner: yourhe
- License: mit
- Created: 2019-02-18T07:36:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T00:48:55.000Z (about 7 years ago)
- Last Synced: 2024-06-20T09:22:06.066Z (over 1 year ago)
- Topics: autotest, golang, webtest
- Language: Go
- Size: 1.97 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autotest
基于指令的自动化测试服务
```
go get github.com/yourhe/autotest
```
cd proto && make stages
## 依赖
#### 1、java环境(略)
#### 2、protoc
```
get -u github.com/golang/protobuf/protoc-gen-go
```
#### 3、grpc-gateway
```
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go
```
如果遇到网络问题,可采用如下步骤
- 到`$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway`目录
- clone代码`git clone https://github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway`
- install `go install`
## 启动
- 1、将vendor.zip解压放到项目上
- 2、运行命令 `java -Dwebdriver.chrome.driver=vendor/chromedriver-mac64-2.42 -jar vendor/selenium-server-standalone-3.14.0.jar -port 53188`
- 3、生成相关proto文件`cd proto && make stages`
- 4、进入cmd目录启动`cd cmd && go run main.go`