如何在goeclipse IDE中执行go测试文件?

huangapple go评论81阅读模式
英文:

How to execute the go test file in the goeclipse IDE

问题

如何在goeclipse IDE中创建一个Eclipse启动文件来执行测试文件或运行配置。

英文:

How do I create a eclipse launch file to execute the test file or run configuration in the goeclipse IDE

答案1

得分: 0

这是一个待处理的改进:问题5

> 我在考虑在“运行为”上下文菜单中添加一个菜单项(“测试Go应用程序”)。
>
> 目前,如果我选择一个Go测试文件并从“运行为”上下文菜单中点击“运行Go应用程序”,什么都不会执行(没有main函数)。
>
> “测试Go应用程序”可以对文件进行“go test”而不是“go run”...

目前,只有一个选项“启用连续测试”:

如何在goeclipse IDE中执行go测试文件?

英文:

This is an enhancement which is pending: issue 5

> I was thinking more along the line of adding a menu item ("Test go application") in the "run as" context menu.
>
> Right now if I select a go test file and click "Run go application" from the "run as" context menu nothing is executed (no main).
>
> A "Test go application" could do a "go test" on the file instead of a "go run"...

For now, there is only an option "Enable continuous testing":

如何在goeclipse IDE中执行go测试文件?

huangapple
  • 本文由 发表于 2014年11月27日 14:53:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/27164694.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定