{"id":13411321,"url":"https://github.com/LawrenceWoodman/roveralls","last_synced_at":"2025-03-14T17:30:37.801Z","repository":{"id":57481287,"uuid":"61979066","full_name":"lawrencewoodman/roveralls","owner":"lawrencewoodman","description":"A Go recursive coverage testing tool","archived":false,"fork":false,"pushed_at":"2017-11-19T19:39:13.000Z","size":23,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T19:09:41.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lawrencewoodman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-26T07:45:32.000Z","updated_at":"2024-02-19T16:44:09.000Z","dependencies_parsed_at":"2022-09-26T16:31:22.694Z","dependency_job_id":null,"html_url":"https://github.com/lawrencewoodman/roveralls","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/lawrencewoodman%2Froveralls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencewoodman%2Froveralls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencewoodman%2Froveralls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencewoodman%2Froveralls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawrencewoodman","download_url":"https://codeload.github.com/lawrencewoodman/roveralls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243618592,"owners_count":20320263,"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":[],"created_at":"2024-07-30T20:01:12.909Z","updated_at":"2025-03-14T17:30:37.470Z","avatar_url":"https://github.com/lawrencewoodman.png","language":"Go","funding_links":[],"categories":["持续集成","Continuous Integration","持續整合","\u003cspan id=\"持续集成-continuous-integration\"\u003e持续集成 Continuous Integration\u003c/span\u003e","持续集成`持续集成的辅助工具`","持续集成(CI)"],"sub_categories":["标准CLI","Standard CLI","Advanced Console UIs","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高级控制台界面","标准 CLI"],"readme":"roveralls\n=========\n\nA Go recursive coverage testing tool.\n\n[![GoDoc](https://godoc.org/github.com/lawrencewoodman/roveralls?status.svg)](https://godoc.org/github.com/lawrencewoodman/roveralls)\n[![Build Status](https://travis-ci.org/lawrencewoodman/roveralls.svg?branch=master)](https://travis-ci.org/lawrencewoodman/roveralls)\n[![Build status](https://ci.appveyor.com/api/projects/status/5dcyd6wgu7fxt538?svg=true)](https://ci.appveyor.com/project/lawrencewoodman/roveralls)\n[![Coverage Status](https://coveralls.io/repos/lawrencewoodman/roveralls/badge.svg?branch=master)](https://coveralls.io/r/lawrencewoodman/roveralls?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/lawrencewoodman/roveralls)](https://goreportcard.com/report/github.com/lawrencewoodman/roveralls)\n\n\nroveralls runs coverage tests on a package and all its sub-packages.  The coverage profile is output as a single file called 'roveralls.coverprofile' for use by tools such as goveralls.\n\nThis tool was inspired by [github.com/go-playground/overalls](https://github.com/go-playground/overalls) written by Dean Karn, but I found it difficult to test and brittle so I decided to rewrite it from scratch.  Thanks for the inspiration Dean.\n\nUsage\n-----\nAt its simplest, to test the current package and sub-packages and create a `roveralls.coverprofile` file in the directory that you run the command:\n\n    $ roveralls\n\nTo see the help for the command:\n\n    $ roveralls -help\n\n        roveralls runs coverage tests on a package and all its sub-packages.  The\n        coverage profile is output as a single file called 'roveralls.coverprofile'\n        for use by tools such as goveralls.\n\n        Usage of roveralls:\n          -covermode count,set,atomic\n              Mode to run when testing files: count,set,atomic (default \"count\")\n          -help\n              Display this help\n          -ignore dir1,dir2,...\n              Comma separated list of directory names to ignore: dir1,dir2,... (default \".git,vendor\")\n          -short\n              Tell long-running tests to shorten their run time\n          -v\tVerbose output\n\n\nView Output in a Web Browser\n----------------------------\nTo view the code coverage for you packge in a browser:\n\n    $ go tool cover -html=roveralls.coverprofile\n\nUse with goveralls\n------------------\n The output of `roveralls` is the same as the the standard `go test -coverprofile=profile.coverprofile` but with multiple files tested in the output file.  This can therefore be used with tools such as `goveralls`.\n\nIf you wanted to call it from a `.travis.yml` script you could use:\n\n    - $HOME/gopath/bin/roveralls\n    - $HOME/gopath/bin/goveralls -coverprofile=roveralls.coverprofile -service=travis-ci\n\nContributing\n------------\n\nIf you want to improve this program make a pull request to the [repo](https://github.com/lawrencewoodman/roveralls) on github.  Please put any pull requests in a separate branch to ease integration and add a test to prove that it works.  If you find a bug, please report it at the project's [issues tracker](https://github.com/lawrencewoodman/roveralls/issues) also on github.\n\n\nLicence\n-------\nCopyright (C) 2016, Lawrence Woodman \u003clwoodman@vlifesystems.com\u003e\n\nThis software is licensed under an MIT Licence.  Please see the file, LICENCE.md, for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLawrenceWoodman%2Froveralls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLawrenceWoodman%2Froveralls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLawrenceWoodman%2Froveralls/lists"}