dongyi9484 2014-11-27 06:53
浏览 69
已采纳

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

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

  • 写回答

1条回答 默认 最新

  • doushi2902 2014-11-27 06:56
    关注

    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":

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 Keil编译时报错"no source": Error: #5: cannot open source
  • ¥50 操作系统时间无法更新
  • ¥20 Windows11, usb转hdmi,外接显示器无反应
  • ¥20 怎么在JavaFx的TableView中动态地添加数据。
  • ¥15 MFC里的工具栏按钮图标使用外部图片
  • ¥15 如何在 llama.cpp 服务器中实现用户登录功能的优化方案?(语言-c++)
  • ¥15 有会用octave 的吗,急!代做!好偿!
  • ¥15 有一套同城小程序源码,Uniapp前端,php+html+mysql后端 ,能不能教我搭建起来可以运行,我不知道怎样操作
  • ¥15 mac调用java.io接口无法在根目录生成文件
  • ¥15 java微服务节点假死,网关路由时长延迟