2017-10-18 Visual Studio CodeでGo言語(golang)のユニットテストを実行する golang VisualStudioCode 例によって忘れないための備忘録です。 Visual Studio CodeにGo with Visual Studio Codeが入っていることが前提です。 手順 ユニットテストのファイル(〜_test.go)を作成する。 commnad + shift + p などでコマンドパレットを起動する。 「Go: Test File」を選択する。 これでユニットテストが実行されると思います。 参考サイト https://code.visualstudio.com/docs/languages/go#_test