-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
area/testingkind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.
Description
Some tests like mount_start_test.go use build tags:
//go:build integration
This breaks editor language server (e.g. Zed, Cursor, vscode) since they think the file is not compiled. Maybe it is possible to configure the --tags for the language server but it does not make sense to make it hard to work with.
Need to find another way to filter integration and functional tests for go test ./...
without breaking editors.
Alternative: document how to configure build flags for various editors.
For Zed, editor global or project settings.json (.zed/settings.json):
{
"lsp": {
"gopls": {
"initialization_options": {
"buildFlags": ["-tags=integration,functional,iso"]
}
}
}
}
Metadata
Metadata
Assignees
Labels
area/testingkind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.