没有合适的资源?快使用搜索试试~ 我知道了~
convey:在Go中编写行为测试
共41个文件
go:34个
goconvey:3个
md:2个
需积分: 22 0 下载量 44 浏览量
2021-05-09
13:55:41
上传
评论
收藏 34KB ZIP 举报
温馨提示
Convey很棒的Go测试 安装 $ go get github.com/wallclockbuilder/convey [快速开始] 进行测试,例如: func TestSpec ( t * testing. T ) { // Only pass t into top-level Convey calls Convey ( "Given some integer with a starting value" , t , func () { x := 1 Convey ( "When the integer is incremented" , func () { x ++ Convey ( "The value should be greater by one" , func () { So ( x , ShouldEqual , 2 ) })
资源推荐
资源详情
资源评论
收起资源包目录
convey-master.zip (41个子文件)
convey-master
isolated_execution_test.go 13KB
nilReporter.go 636B
init.go 2KB
context.go 7KB
reporting_hooks_test.go 7KB
convey.goconvey 170B
discovery.go 2KB
examples
examples.goconvey 438B
assertion_examples_test.go 4KB
doc.go 310B
bowling_game_test.go 2KB
bowling_game.go 2KB
simple_example_test.go 696B
.travis.yml 118B
reporting
reporter.go 1KB
gotest_test.go 2KB
console.go 210B
printer_test.go 4KB
dot.go 808B
init.go 2KB
problems.go 2KB
statistics.go 2KB
reporter_test.go 2KB
story.go 2KB
doc.go 256B
json.go 2KB
reporting.goconvey 20B
printer.go 1KB
reports.go 4KB
gotest.go 674B
problems_test.go 1KB
dot_test.go 890B
doc.go 8KB
LICENSE.md 1KB
README.md 863B
story_conventions_test.go 4KB
focused_execution_test.go 1KB
assertions.go 3KB
.gitignore 41B
gotest
utils.go 1KB
doc_test.go 15B
共 41 条
- 1
资源评论
有道理的同桌
- 粉丝: 27
- 资源: 4653
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功