{"id":13562080,"url":"https://github.com/AlekSi/gocov-xml","last_synced_at":"2025-04-03T18:32:15.715Z","repository":{"id":6537533,"uuid":"7778804","full_name":"AlekSi/gocov-xml","owner":"AlekSi","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-14T12:34:49.000Z","size":24,"stargazers_count":147,"open_issues_count":6,"forks_count":45,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T02:12:24.206Z","etag":null,"topics":[],"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/AlekSi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-23T16:34:32.000Z","updated_at":"2025-02-08T09:29:46.000Z","dependencies_parsed_at":"2024-06-18T12:40:31.769Z","dependency_job_id":"c853579a-67fe-4ca8-b0f4-967970d001bb","html_url":"https://github.com/AlekSi/gocov-xml","commit_stats":{"total_commits":13,"total_committers":5,"mean_commits":2.6,"dds":0.3846153846153846,"last_synced_commit":"6e899ffefb037f5c8b2e6532b458bb1cea00ed19"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekSi%2Fgocov-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekSi%2Fgocov-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekSi%2Fgocov-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlekSi%2Fgocov-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlekSi","download_url":"https://codeload.github.com/AlekSi/gocov-xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247056777,"owners_count":20876457,"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-08-01T13:01:04.351Z","updated_at":"2025-04-03T18:32:15.384Z","avatar_url":"https://github.com/AlekSi.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# gocov XML\n\nA tool to generate Go coverage in XML report for using with tools/plugins like Jenkins/Cobertura.\n\n\u003e Table of Contents\n\n- [gocov XML](#gocov-xml)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Examples](#examples)\n      - [Generate coverage by passing `gocov` output as input to `gocov-xml`](#generate-coverage-by-passing-gocov-output-as-input-to-gocov-xml)\n      - [Specifying optional source](#specifying-optional-source)\n  - [Authors](#authors)\n\nThis is a simple helper tool for generating XML output in [Cobertura](http://cobertura.sourceforge.net/) format\nfor CIs like [Jenkins](https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin), [vsts](https://www.visualstudio.com/team-services) and others\nfrom [github.com/axw/gocov](https://github.com/axw/gocov) output.\nThe generated XML output is in the latest [coverage-04.dtd](http://cobertura.sourceforge.net/xml/coverage-04.dtd) schema\n\n## Installation\n\nJust type the following to install the program and its dependencies:\n\nFor Go 1.17 and above:\n\n```bash\ngo install github.com/axw/gocov/gocov@latest\ngo install github.com/AlekSi/gocov-xml@latest\n```\n\nFor previous Go versions:\n\n```bash\ngo get github.com/axw/gocov/...\ngo get github.com/AlekSi/gocov-xml\n```\n\n## Usage\n\n\u003e **NOTE**: `gocov-xml` reads data from the standard input.\n\n```bash\ngocov [-source \u003cabsolute path to source\u003e]\n```\n\nWhere,\n\n- **`source`**: Absolute path to source. Defaults to the current working directory.\n\n### Examples\n\n#### Generate coverage by passing `gocov` output as input to `gocov-xml`\n\n```bash\ngocov test github.com/gorilla/mux | gocov-xml \u003e coverage.xml\n```\n\n#### Specifying optional source\n\n```bash\ngocov test github.com/gorilla/mux | gocov-xml -source /abs/path/to/source \u003e coverage.xml\n```\n\n## Authors\n\n- [Alexey Palazhchenko (AlekSi)](https://github.com/AlekSi)\n- [Yukinari Toyota (t-yuki)](https://github.com/t-yuki)\n- [Marin Bek (marinbek)](https://github.com/marinbek)\n- [Alex Castle (acastle)](https://github.com/acastle)\n- [Billy Yao (yaoyaozong)](https://github.com/yaoyaozong)\n- [Abhijith DA (abhijithda)](https://github.com/abhijithda)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlekSi%2Fgocov-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlekSi%2Fgocov-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlekSi%2Fgocov-xml/lists"}