Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Regina Morris
Total activity
15
Last activity
July 22, 2020 22:14
Member since
July 15, 2020 22:13
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
3
Activity overview
Posts (3)
Comments (9)
Sort by recent activity
Recent activity
Votes
Edited
July 22, 2020 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...
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Edited
July 21, 2020 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...
Community
GoLand
Why can't *_test.go files find functions defined in different files within the same package?
0 votes
Created
July 21, 2020 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...
Community
GoLand
Why can't *_test.go files find functions defined in different files within the same package?
0 votes
Created
July 18, 2020 20:51
It was a version mismatch. Thanks for the help. :-)
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Created
July 17, 2020 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...
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Created
July 17, 2020 17:08
Can you tell me how you ran this by taking a screenshot of your run configuration?
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Created
July 17, 2020 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...
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Created
July 16, 2020 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 ...
Community
GoLand
"TestMain(m *testing.M)" runs as a test itself but is failing
0 votes
Created
July 16, 2020 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!...
Community
GoLand
Running multiple tests within a package (terminal vs run configuration)
0 votes