Skip to content

Very slow on windows mingw #139

@xoxloviwan

Description

@xoxloviwan

test coverage run slow

MINGW64 /c/Projects/gopherkeep (user-info-2)
$ time go-test-coverage --config=./.testcoverage.yml
File coverage threshold (0%) satisfied:         PASS
Package coverage threshold (0%) satisfied:      PASS
Total coverage threshold (0%) satisfied:        PASS
Total test coverage: 33%

real    0m12.457s
user    0m0.015s
sys     0m0.060s

Why it may be?

file .testcoverage.yml

# (mandatory) 
# Path to coverprofile file (output of `go test -coverprofile` command).
#
# For cases where there are many coverage profiles, such as when running 
# unit tests and integration tests separately, you can combine all those
# profiles into one. In this case, the profile should have a comma-separated list 
# of profile files, e.g., 'cover_unit.out,cover_integration.out'.
profile: cover.out

# (optional; but recommended to set) 
# When specified reported file paths will not contain local prefix in the output
local-prefix: "github.com/xoxloviwan/memopass"

# Holds coverage thresholds percentages, values should be in range [0-100]
#threshold:
  # (optional; default 0) 
  # The minimum total coverage project should have
  #total: 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions