- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
我开始使用 golang 进行一些开发工作,我很乐意使用 goconvey 提供的 BDD 风格。
我刚刚将我的系统配置为为 golang 设置,我已经去 github.com/smartystreets/goconvey 一切顺利,但是当我在 goconvey 中编写一些简单的测试并尝试通过控制台执行它们时,我得到
$go test -v
go build github.com/smartystreets/assertions: no buildable Go source files in
FAIL go-tdd-take1 [build failed]
有什么技巧可以让它在 Windows 中运行吗?
我在代理后面工作,但我不确定这是否是这里的问题,我相信我已经配置好了。
谢谢
最佳答案
好的,我想我已经弄明白了。看起来好像当我安装 goconvey 时它没有下载 convey 目录中的断言所以一旦我 $go 得到 github.com/smartystreets/assertions然后将该目录复制到那里它应该已经消失了它似乎工作。
这仍然有点奇怪,我假设代理与它有关,我知道安装比在没有代理的 mac 上安装花费的时间更长。
关于windows - 如何让 goconvey 在 Windows 7 上工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28999669/
我正在设置 go 并尝试让一个简单的项目与 http://goconvey.co/ 一起工作 我将 $GOPATH 设置为/Users/joe/Desktop/playground/go 当我运行时
不确定为什么以下自定义断言不起作用,这似乎是一个编译错误,但我使用的语法似乎符合他们 wiki 页面中解释的内容:https://github.com/smartystreets/goconvey/w
关闭。这个问题需要debugging details .它目前不接受答案。 编辑问题以包含 desired behavior, a specific problem or error, and th
我正在编写一个简单的服务,想知道我应该如何使用 GoConvey 来测试 REST API 端点? 理想情况下,我相信我必须启动我的服务器来对其进行测试,但出于某种原因,我无法全神贯注于如何使用 Go
我如何用我的 go test 命令明确地说只运行主包的测试,而不运行源目录中的其他包。 目前它正在使用 $go test -v。但是......我也在使用 goconvey 并且它似乎正在递归运行。根
我开始使用 golang 进行一些开发工作,我很乐意使用 goconvey 提供的 BDD 风格。 我刚刚将我的系统配置为为 golang 设置,我已经去 github.com/smartystree
我有一个 public 文件夹来提供静态资源。我使用 Convey 编写了测试以将静态内容保存在此文件夹中。 由于在公用文件夹中创建了新文件,它陷入了一个永无止境的循环。 integration.go
我正在为我的一些 golang 网络服务项目使用 docker 容器,并且部分开发工作流正在使用 goconvey 来获得一些快速的 tdd 反馈。我想在 docker 容器中启动它并将端口公开给主机
我有一组使用 GoConvey 和 Go 1.3.1 的测试,在本地工作得很好。但是当我使用 Jenkins 触发构建时,也使用 Go 1.3.1,我从 Goconvey 那里得到了一个与我在测试中使
我是一名优秀的程序员,十分优秀!