2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
If run test | debug test is not displayed above the single test function, you need to install Code Debugger (because the previous go Test Explorer is no longer maintained)
go test -v run TestXXX
go install github.com/go-delve/delve/cmd/[email protected]
dlv test
go test -v -cover ./{dir}/... -coverprofile={cov-out-file-path}
go tool cover --html={cov-out-file-path} -o={html-path}