From 35e9a9a5397bd53b9ac9c710485b40fb6b8a9c9d Mon Sep 17 00:00:00 2001 From: Joe Constant Date: Wed, 6 Dec 2023 04:27:43 +0000 Subject: [PATCH] Add 'go test' task Added a new task 'go test' to run tests with the 'go test' command. --- .codesandbox/tasks.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json index c9e1f24..51c5a96 100644 --- a/.codesandbox/tasks.json +++ b/.codesandbox/tasks.json @@ -16,6 +16,16 @@ "branch": true, "resume": true } + }, + "go test": { + "name": "Test", + "command": "go test -v ./...", + "runAtStart": true, + "restartOn": { + "files": ["*"], + "branch": true, + "resume": true + } } } }