{"id":13411314,"url":"https://github.com/go-playground/overalls","last_synced_at":"2025-04-10T02:23:13.482Z","repository":{"id":35671838,"uuid":"39947173","full_name":"go-playground/overalls","owner":"go-playground","description":":jeans:Multi-Package go project coverprofile for tools like goveralls","archived":false,"fork":false,"pushed_at":"2019-12-30T18:54:48.000Z","size":2221,"stargazers_count":114,"open_issues_count":2,"forks_count":26,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-25T04:09:48.812Z","etag":null,"topics":["coverprofile"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-playground.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-30T11:30:11.000Z","updated_at":"2023-10-03T00:20:25.000Z","dependencies_parsed_at":"2022-07-09T08:16:14.511Z","dependency_job_id":null,"html_url":"https://github.com/go-playground/overalls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Foveralls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Foveralls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Foveralls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-playground%2Foveralls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-playground","download_url":"https://codeload.github.com/go-playground/overalls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248143314,"owners_count":21054755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coverprofile"],"created_at":"2024-07-30T20:01:12.865Z","updated_at":"2025-04-10T02:23:13.461Z","avatar_url":"https://github.com/go-playground.png","language":"Go","funding_links":[],"categories":["Continuous Integration","持续集成","Uncategorized","持续集成`持续集成的辅助工具`","持续集成(CI)","\u003cspan id=\"持续集成-continuous-integration\"\u003e持续集成 Continuous Integration\u003c/span\u003e"],"sub_categories":["Standard CLI","Advanced Console UIs","标准CLI","标准 CLI","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"Package overalls\n================\n\n[![Build Status](https://travis-ci.org/go-playground/overalls.svg?branch=master)](https://travis-ci.org/go-playground/overalls)\n[![GoDoc](https://godoc.org/github.com/go-playground/overalls?status.svg)](https://godoc.org/github.com/go-playground/overalls)\n\nPackage overalls takes multi-package go projects, runs test coverage tests on all packages in each directory and finally concatenates into a single file for tools like goveralls and codecov.io.\n\nUsage and documentation\n------\n##### Example\n\toveralls -project=github.com/go-playground/overalls -covermode=count -debug\n\n##### then with other tools such as [goveralls](https://github.com/mattn/goveralls)\n\tgoveralls -coverprofile=overalls.coverprofile -service semaphore -repotoken $COVERALLS_TOKEN\n\t\n##### or [codecov.io](https://github.com/codecov/example-go)\n\tmv overalls.coverprofile coverage.txt\n\texport CODECOV_TOKEN=###\n \tbash \u003c(curl -s https://codecov.io/bash)\n\n\n##### note:\n1. goveralls and codecover currently do not calculate coverage the same way as `go tool cover` see [here](https://github.com/mattn/goveralls/issues/103) and [here](https://github.com/codecov/example-go/issues/13).\n\n2. overalls (and go test) by default will not calculate coverage \"across\" packages. E.g. if a test in package A covers code in package B overalls will not count it. You may or may not want this depending on whether you're more concerned about unit test coverage or integration test coverage. To enable add the coverpkg flag.\n    `overalls -project=github.com/go-playground/overalls -covermode=count -debug -- -coverpkg=./...`\n\n```shell\n$ overalls -help\n\nusage: overalls -project=[path] -covermode[mode] OPTIONS -- TESTOPTIONS\n\noveralls recursively traverses your projects directory structure\nrunning 'go test -covermode=count -coverprofile=profile.coverprofile'\nin each directory with go test files, concatenates them into one\ncoverprofile in your root directory named 'overalls.coverprofile'\n\nOPTIONS\n  -project\n\tYour project path as an absolute path or relative to the '$GOPATH/src' directory\n\texample: -project=github.com/go-playground/overalls\n\n  -covermode\n    Mode to run when testing files.\n    default:count\n\nOPTIONAL\n\n  -ignore\n    A comma separated list of directory names to ignore, relative to project path.\n    example: -ignore=[.git,.hiddentdir...]\n    default: '.git'\n\n  -debug\n    A flag indicating whether to print debug messages.\n    example: -debug\n    default:false\n\n  -concurrency\n    Limit the number of packages being processed at one time.\n    The minimum value must be 2 or more when set.\n    example: -concurrency=5\n    default: unlimited\n```\n\nTESTOPTIONS\n\n  Any flags after `--` will be passed as-is to `go test`.\n  For example:\n\n```bash\noveralls -project=$PROJECT -debug -- -race -v\n```\n\nWill call `go test -race -v` under the hood in addition to the `-coverprofile`\ncommands.\n\nHow to Contribute\n------\n\nMake a pull request.\n\nIf the changes being proposed or requested are breaking changes, please create an issue.\n\nLicense\n------\nDistributed under MIT License, please see license file in code for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-playground%2Foveralls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-playground%2Foveralls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-playground%2Foveralls/lists"}