Golang搭建接口测试框架

测试报告

使用goconvey作为测试报告,使用方法:

安装

$ go get github.com/smartystreets/goconvey
$ $GOPATH/bin/goconvey

导入包

// 通过一下语句导入
. "github.com/smartystreets/goconvey/convey"

使用

关键字:Convey及So
原文地址:https://www.cnblogs.com/testopsfeng/p/13730598.html