You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a project with multiple modules. I'm using the new workspace feature in 1.18 and it works fantastically for getting dependencies and organizing my workflow better. One issue I'm having is actually testing all of the different modules at the same time.
Have a single command that will run all of the tests for your given workspace.
There is currently a -workfile flag but I can't for the life of me find documentation or how to get that working.
My attempt at getting -workfile flag working
- go-go-go git:(main) ✗ go test -workfile=go.work
no Go files in /Users/zachajon/Projects/delete_later/go-go-go
I'm completely open to all feedback and help that can be given! This is my first time posting an issue to an open source project like this and I'm nervous and super excited!!!
The text was updated successfully, but these errors were encountered:
Problem
I currently have a project with multiple modules. I'm using the new workspace feature in 1.18 and it works fantastically for getting dependencies and organizing my workflow better. One issue I'm having is actually testing all of the different modules at the same time.
go.work
Given my current
go.work
above, I can test manually by running each of theuse
directories separatelyHow I run tests manually
Proposed Solution
Have a single command that will run all of the tests for your given workspace.
There is currently a
-workfile
flag but I can't for the life of me find documentation or how to get that working.My attempt at getting
-workfile
flag workingI'm completely open to all feedback and help that can be given! This is my first time posting an issue to an open source project like this and I'm nervous and super excited!!!
The text was updated successfully, but these errors were encountered: