英文:
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”...
目前,只有一个选项“启用连续测试”:
英文:
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":
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论