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

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

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程