开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
testing

testing

go

如何在go test中抑制“[no test files]”消息

英文: How to suppress [no test files] message on go test 问题 我正在项目的根目录下运行go test ./...命令,但是有几个包没有任何测试,并...
huangapple 2014年4月16日154评论go testing
go

如何使用相对目录测试Go程序?

英文: How to test Go programs with relative directories? 问题 根据测试文档: “该软件包是在临时目录中构建的,因此不会干扰非测试安装。” 因此,与...
huangapple 2014年3月17日154评论go testing
go

How to do mock a function using gomock in Go?

英文: How to do mock a function using gomock in Go? 问题 我是你的中文翻译助手,以下是翻译好的内容: 我刚开始学习Go语言,正在做一个小的简单项目,并且...
huangapple 2014年3月8日166评论go testing
go

In Go when using the Example… testing method is there a way to have it show a diff instead of got… want…?

英文: In Go when using the Example... testing method is there a way to have it show a diff instead of ...
huangapple 2014年3月4日156评论go testing
go

在Go语言中测试具有相同内容的映射是否等价时,测试失败了。

英文: Testing equivalence of maps in Go with the same contents, but the test failed 问题 这是一个在Go语言中的单词计数...
huangapple 2014年2月13日162评论dictionary go
go

在Go测试中处理命令行参数

英文: Process command line arguments in go test 问题 在Go语言的测试中,有没有办法获取命令行参数? 当你调用go test时,显然不会运行main函数,所...
huangapple 2014年1月25日149评论go testing
go

如何在Go中模拟对`ioutil.ReadFile`的调用?

英文: How would I mock a call to ioutil.ReadFile in go? 问题 我有以下函数: func ObtainTranslationStringsFile(p...
huangapple 2014年1月5日153评论go testing
go

在GO中进行并发编程测试

英文: Concurrent programming test in GO 问题 我正在尝试确保我的并发程序不会出现以下问题: 死锁(deadlock) 活锁(livelock) 饥饿(starvat...
huangapple 2013年11月29日153评论concurrency go
go

在golang应用程序中组织测试并避免导入循环问题。

英文: Organizing tests in golang application and avoiding import cycles hell 问题 我目前遇到了一个关于应用程序结构和测试基础设...
huangapple 2013年11月19日152评论go testing
go

如何查看Go程序测试代码的堆栈跟踪?

英文: How to see stack trace of test code of Go program? 问题 我使用Go的原生测试工具(go test)编写测试。但是当测试由于测试代码中的错误而...
huangapple 2013年11月4日166评论go testing
60

文章导航

1 … 54 55 56 57 58 59 60
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17061565

热门标签

c# java pandas c++ node.js spring reactjs json sql android r go typescript css html flutter python spring-boot javascript arrays

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码