运行gb:gb test .../<regex>/... -v工作,但运行gb test .../<regex>/... -coverprofile=cover.out结果:testing: cannot use -test.coverprofile because test binary was not built with coverage enabled虽然go test -coverprofile cover.out工作。如何使用 gb 获得代码覆盖率?
添加回答
举报
0/150
提交
取消