Skip to content

Commit

Permalink
Merge pull request #369 from adilfulara/MESH-0000-IncreaseCoverage
Browse files Browse the repository at this point in the history
MESH-5688: Tech-Debt: Increase coverage
  • Loading branch information
adilfulara authored Jan 2, 2025
2 parents 2d8cf04 + a1122b3 commit b285613
Show file tree
Hide file tree
Showing 5 changed files with 426 additions and 133 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ build-mac:
$(GOBUILD) -o $(BINARY_DARWIN) -v $(MAIN_PATH_ADMIRAL)

test:
$(GOTEST) -v -failfast -race -timeout 0 `go list ./... | grep -v client | grep -v fmeatests | grep -v tests` -coverprofile=c.out
$(GOTEST) -v -failfast -race -timeout 0 `go list ./... | grep -v client | grep -v fmeatests | grep -v tests | grep -v test` -coverprofile=c.out.tmp
cat c.out.tmp | grep -v "pb.go" | grep -v "root.go" | grep -v "_generated.deepcopy.go" | grep -v "registry/mocks" | grep -v "mocks/ConfigWriter.go"> c.out
$(GOCMD) install github.com/boumenot/gocover-cobertura@latest
$(GOPATH)/bin/gocover-cobertura < c.out > cobertura-coverage.xml

Expand Down
Loading

0 comments on commit b285613

Please sign in to comment.