主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Regina Morris
活动总数
15
最后的活动
2020年07月22日 22:14
成员加入日期
2020年07月15日 22:13
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
3
活动概览
帖子(3)
评论(9)
按最近的活动排序
最近的活动
投票数
已编辑于
2020年07月22日 22:14
This was not a version mismatch. I think I have the correct question to ask but I don't have the answer. :-( I have a package dbconnect. I have a directory with two files. dbconnect.go package dbco...
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
已编辑于
2020年07月21日 15:02
For Daniil's code, if I select to run the sumexample_test.go through Goland I get that compilation error. If I select the directory tests and run through Goland it works. Why? I now went back to m...
社区
GoLand
Why can't *_test.go files find functions defined in different files within the same package?
0 票
创建于
2020年07月21日 14:50
BTW, three days ago Daniil gave me this code: https://github.com/s0xzwasd/go-tests-examples This was for another issue I was having. I just looked and that code has the exact same problem. There is...
社区
GoLand
Why can't *_test.go files find functions defined in different files within the same package?
0 票
创建于
2020年07月18日 20:51
It was a version mismatch. Thanks for the help. :-)
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
创建于
2020年07月17日 17:37
Thanks Daniil. I've loaded your code and it does work. However, when I put my import statement in your code it breaks while building the test. This happens for both running in a "run config" and fo...
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
创建于
2020年07月17日 17:08
Can you tell me how you ran this by taking a screenshot of your run configuration?
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
创建于
2020年07月17日 14:05
With the import in place, this works on the terminal line: go test -v *.go So I can run my tests but I’d like to run them through Goland's run/debug configurations and not just the terminal. I want...
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
创建于
2020年07月16日 18:41
I'm using GoLand 2020.1.4 that I upgraded to today. Now the test doesn't run through init(), setUp(), etc. Looks like the test can't load anymore with the update. I changed the name of my testcase ...
社区
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 票
创建于
2020年07月16日 14:10
This did work, thanks. I'm not sure why selecting the directory in the tree structure and then "run->go test" works and trying to create a configuration doesn't, but this solves my problem. Thanks!...
社区
GoLand
Running multiple tests within a package (terminal vs run configuration)
0 票