-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能力不足,折腾一下午,也没有跑通 go 的 UnitAuto #46
Comments
把这几行代码放 Go Playground 网站都能跑起来,只不过这个网站会强制停掉 HTTP 服务(推荐自己用 Goland 等 IDE 或者自己服务部署) package main
import (
"github.com/TommyLemon/unitauto-go/unitauto"
)
func main() {
unitauto.Test()
unitauto.Start(8083)
} 这个简单 Demo 可以直接在 Goland 的 IDE 界面点左侧运行按钮来测试
"都放在 github 了,大家都在看的。" 同样适合你的言论,如果你的目的不是使用这个项目,而是挑衅,那我以后也没必要回复你了,所有 issue 直接关闭。 |
谢谢大佬回答,没有挑衅的意思,感觉就是有点宣传过头,希望可以有点更核心的文章。 另外 部署后台管理工具,这个也看过了。。是不是 要先 部署 APIAuto?在 UniAuto 没看到后台的代码,是这个吗 UnitAuto-Admin/js/server.js 囧。总算从文档上找到了 使用后台 HTTP 服务 |
UnitAuto 的后台管理工具是 UnitAuto-Admin(可以先用这个静态网页手动测试验证下 unitauto-go 的基本功能) UnitAuto-Admin 的后端服务是 APIJSONBoot(推荐 APIJSONBoot-MultiDataSource,UnitAuto-Admin 文件替换 resources/static 目录的 APIAuto 文件),增删改查用例、自动回归测试等需要 对应的数据库表文件推荐 MySQL 的 https://github.com/TommyLemon/UnitAuto#%E9%83%A8%E7%BD%B2%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7 至于 使用后台 HTTP 服务,这个是 后台 Headless 无 UI 模式回归测试 的,不属于托管服务器(测试用例增删改查接口服务的后端) |
一般步骤: 2.打开 UnitAuto js 前端 UnitAuto-Admin,可先用 http://apijson.cn/unit 或 http://apijson.cn/unit/go 代替,然后设置被测项目地址,手动验证基本功能 3.部署 UnitAuto Java 后端 APIJSONBoot(包括部署数据库,以及 Java 代码配置数据库 URI, 账号、密码等),可先用 http://apijson.cn:8080 或 http://apijson.cn:9090 代替,然后在 UnitAuto-Admin 设置托管服务器地址,导入和查看用例,回归测试等 |
都放在 github 了,大家都在看的。
The text was updated successfully, but these errors were encountered: