eclipse - 如何在eclipse IDE中执行go test文件

标签 eclipse testing go

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

最佳答案

这是待定的增强功能: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"...

目前只有“启用持续测试”选项:

https://camo.githubusercontent.com/9b9a724f67e9a7567736fba03d60943768b18c50/687474703a2f2f692e696d6775722e636f6d2f573567446258302e706e67

关于eclipse - 如何在eclipse IDE中执行go test文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27164694/

相关文章:

Eclipse 中的 Android 应用程序运行错误

node.js - Cypress 永远不会超过 Ubuntu 上的加载屏幕

file - 如何在Go中附加到文件的开头?

eclipse - 中文开发者通知 : run tomcat 7. 0 使用eclipse juno抛出异常

java - 在 Eclipse 中使用 ANT 脚本时如何调试 Java 代码

java堆空间

IOS检查是否连接了m3u8流

java - 使用 Java 使用 Selenium WebDriver 捕获用户输入和操作

golang 仅在作者进行更改时才阻止读者

go - 通过引用分配