Go test only checks main_test.go
See original GitHub issueUses go test /apps/name/**/*.go However this seems to only check the main_test.go. Perhaps apps/name/...
might work better.
I can help if needed.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Testing in Go: go test - Ilija Eftimov
The go test command ships with Go itself, so if you have Golang installed, there's nothing to check - it's available on your...
Read more >How to test the main package functions in golang?
Unit tests only go so far. At some point you have to actually run the program. Then you test that it works with...
Read more >testing - Go Packages
Package testing provides support for automated testing of Go packages. ... A parent test will only complete once all of its subtests complete....
Read more >Why use TestMain for testing in Go? - Medium
Basically the TestMain function provides more control over running tests than was available in the prior releases of Go. So if the test...
Read more >Golang Testing: Unit Testing Go Applications - Linode
They are then linked and run with the main test binary. Go's ... Only a high-confidence subset of the default go vet checks...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @Narven - I would really appreciate a PR! I should have some time this weekend en next weekend to look at nx-go!
I’m about to start a pet project that uses Go so I’ll be using this again!
Also forgot about this, in the
workspace.json
it the builder needs to change from:to just: