From ff87893db0cfc62dbd9abb2dff3f052a00f31516 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 23 Mar 2023 10:14:40 +0800 Subject: [PATCH] test(manager): add coverage Signed-off-by: Chin-Ya Huang --- scripts/test | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test b/scripts/test index b64dc4fa2..373b30f3d 100755 --- a/scripts/test +++ b/scripts/test @@ -8,6 +8,7 @@ cd $(dirname $0)/.. # makes these flaky echo "running unit tests" go test -p 1 -v ./pkg/simulator/... +go test -v -cover -coverprofile=cover.out ./pkg/manager/... echo "running integration tests" go test -v -timeout=20m ./tests/integration \ No newline at end of file