Browse Source

d03 Изменение команды тестирования

SVI 2 years ago
parent
commit
bc03c04637
2 changed files with 4 additions and 3 deletions
  1. 2 1
      .gitignore
  2. 2 2
      Makefile

+ 2 - 1
.gitignore

@@ -16,4 +16,5 @@ desktop/win_main/main_menu/__pycache__
 desktop/win_login/__pycache__
 
 cmd/server/__debug_bin
-tmp.tex
+tmp.tex
+cover.out

+ 2 - 2
Makefile

@@ -25,8 +25,8 @@ serv.run:
 test.run:
 	clear
 	go fmt ./...
-	go test --cover -coverprofile=coverage.txt ./cmd/... ./internal/... ./pkg/...
-	go tool cover -func=coverage.txt
+	go test -vet=all -race -timeout 30s -coverprofile cover.out ./...
+	go tool cover -func=cover.out
 mod:
 	clear
 	go get -u ./...