{"id":13134334,"url":"https://github.com/socketry/covered","last_synced_at":"2025-05-15T09:06:37.058Z","repository":{"id":32682557,"uuid":"139292412","full_name":"socketry/covered","owner":"socketry","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-07T21:18:07.000Z","size":799,"stargazers_count":204,"open_issues_count":2,"forks_count":13,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-15T09:06:36.341Z","etag":null,"topics":["coverage","ruby","testing"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/socketry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"zenodo":null},"funding":{"custom":"https://github.com/socketry/community/#funding","github":"ioquatix"}},"created_at":"2018-07-01T01:40:01.000Z","updated_at":"2025-05-05T13:52:56.000Z","dependencies_parsed_at":"2024-07-27T00:09:33.874Z","dependency_job_id":"06a9efe3-638b-4c6b-83be-a6087ea0f81b","html_url":"https://github.com/socketry/covered","commit_stats":{"total_commits":207,"total_committers":7,"mean_commits":"29.571428571428573","dds":0.02898550724637683,"last_synced_commit":"d6c60e0c907c57118f5c5f446caac490b1b4abd1"},"previous_names":["sus-rb/covered","suspecting/covered","socketry/covered"],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fcovered","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fcovered/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fcovered/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socketry%2Fcovered/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socketry","download_url":"https://codeload.github.com/socketry/covered/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"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":["coverage","ruby","testing"],"created_at":"2024-07-27T00:08:23.774Z","updated_at":"2025-05-15T09:06:37.040Z","avatar_url":"https://github.com/socketry.png","language":"Ruby","readme":"# Covered\n\n![Screenshot](media/example.png)\n\nCovered uses modern Ruby features to generate comprehensive coverage, including support for templates which are compiled\ninto Ruby.\n\n  - Incremental coverage - if you run your full test suite, and the run a subset, it will still report the correct\n    coverage - so you can incrementally work on improving coverage.\n  - Integration with Sus, Git, RSpec and Minitest- no need to configure anything - out of the box support for these\n    platforms.\n  - Supports coverage of views - templates compiled to Ruby code can be tracked for coverage reporting.\n\n[![Development Status](https://github.com/ioquatix/covered/workflows/Test/badge.svg)](https://github.com/ioquatix/covered/actions?workflow=Test)\n\n## Motivation\n\nOriginally, Ruby coverage tools were unable to handle `eval`ed code. This is because the `coverage` module built into\nRuby doesn't expose the necessary hooks to capture it. Using the [parser](https://github.com/whitequark/parser) gem and\ntrace points allows us to do our own source code analysis to compute executable lines, thus making it possible to\ncompute coverage for \"templates\".\n\nAfter this concept prooved useful, [it was integrated directly into Ruby](https://bugs.ruby-lang.org/issues/19008).\n\n## Usage\n\nPlease see the [project documentation](https://socketry.github.io/covered/) for more details.\n\n  - [Getting Started](https://socketry.github.io/covered/guides/getting-started/index) - This guide explains how to get started with `covered` and integrate it with your test suite.\n\n  - [Configuration](https://socketry.github.io/covered/guides/configuration/index) - This guide will help you to configure covered for your project's specific requirements.\n\n## Releases\n\nPlease see the [project releases](https://socketry.github.io/covered/releases/index) for all releases.\n\n### v0.27.0\n\n  - Drop development dependeny on `trenni` and add dependeny on `xrb`.\n\n## See Also\n\n  - [simplecov](https://github.com/colszowka/simplecov) – one of the original coverage implementations for Ruby, uses\n    the built-in `coverage` library.\n  - [sus](https://github.com/socketry/sus) - a test framework which uses `covered` to generate coverage reports.\n\n## Contributing\n\nWe welcome contributions to this project.\n\n1.  Fork it.\n2.  Create your feature branch (`git checkout -b my-new-feature`).\n3.  Commit your changes (`git commit -am 'Add some feature'`).\n4.  Push to the branch (`git push origin my-new-feature`).\n5.  Create new Pull Request.\n\n### Developer Certificate of Origin\n\nIn order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.\n\n### Community Guidelines\n\nThis project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.\n","funding_links":["https://github.com/socketry/community/#funding","https://github.com/sponsors/ioquatix"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fcovered","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocketry%2Fcovered","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocketry%2Fcovered/lists"}