{"id":13879760,"url":"https://github.com/odlp/rspec_overview","last_synced_at":"2025-07-12T08:32:56.813Z","repository":{"id":56892930,"uuid":"119252517","full_name":"odlp/rspec_overview","owner":"odlp","description":"Get an overview of an RSpec test suite","archived":false,"fork":false,"pushed_at":"2021-02-11T13:02:14.000Z","size":35,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-15T01:38:20.647Z","etag":null,"topics":["formatter","rspec","rspec-formatter","rspec-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/odlp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-01-28T11:33:04.000Z","updated_at":"2023-02-17T07:54:13.000Z","dependencies_parsed_at":"2022-08-21T01:20:57.746Z","dependency_job_id":null,"html_url":"https://github.com/odlp/rspec_overview","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/odlp/rspec_overview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Frspec_overview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Frspec_overview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Frspec_overview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Frspec_overview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odlp","download_url":"https://codeload.github.com/odlp/rspec_overview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Frspec_overview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962506,"owners_count":23689824,"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":["formatter","rspec","rspec-formatter","rspec-testing"],"created_at":"2024-08-06T08:02:31.907Z","updated_at":"2025-07-12T08:32:56.791Z","avatar_url":"https://github.com/odlp.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# RspecOverview\n\n[![Build Status](https://travis-ci.org/odlp/rspec_overview.svg?branch=master)](https://travis-ci.org/odlp/rspec_overview)\n\nTake `RspecOverview::Formatter` for a spin when you're new to a project and need\nan overview:\n\n- How are the tests structured?\n- How many tests are there by type (feature, model, controller)?\n- Which tests are taking the most time?\n\n## Usage\n\nAdd the gem to your `Gemfile` and run `bundle`:\n\n```ruby\ngroup :test do\n  gem \"rspec_overview\"\nend\n```\n\nYou can use the overview formatter standalone, or mix \u0026 match with other\nformatters:\n\n```sh\n# With the progress formatter:\nbundle exec rspec --format progress --format RspecOverview::Formatter\n\n# With the documentation formatter:\nbundle exec rspec --format documentation --format RspecOverview::Formatter\n```\n\n### CSV format\n\nYou can also produce a CSV for further analysis:\n\n```sh\nbundle exec rspec --format RspecOverview::FormatterCsv --out overview.csv\n```\n\n## Example output\n\nRun against [thoughtbot/administrate][administrate]:\n\n[administrate]: https://github.com/thoughtbot/administrate\n\n```\nRandomized with seed 16132\n................................................................................\n................................................................................\n................................................................................\n......................................................................\n\nFinished in 15.03 seconds (files took 6.02 seconds to load)\n310 examples, 0 failures\n\n# Summary by Type or Subfolder\n\n| Type or Subfolder   | Example count | Duration (s) | Average per example (s) |\n|---------------------|---------------|--------------|-------------------------|\n| feature             | 72            | 9.28         | 0.12889                 |\n| generator           | 65            | 1.83         | 0.0282                  |\n| controller          | 32            | 1.69         | 0.05293                 |\n| view                | 14            | 0.68246      | 0.04875                 |\n| ./spec/i18n_spec.rb | 2             | 0.58921      | 0.2946                  |\n| ./spec/lib          | 79            | 0.33908      | 0.00429                 |\n| model               | 28            | 0.29078      | 0.01038                 |\n| ./spec/administrate | 5             | 0.03813      | 0.00763                 |\n| ./spec/dashboards   | 9             | 0.024        | 0.00267                 |\n| helper              | 4             | 0.01062      | 0.00265                 |\n\n\n# Summary by File\n\n| File                                                        | Example count | Duration (s) | Average per example (s) |\n|-------------------------------------------------------------|---------------|--------------|-------------------------|\n| ./spec/features/index_page_spec.rb                          | 11            | 2.76         | 0.25125                 |\n| ./spec/controllers/admin/customers_controller_spec.rb       | 15            | 1.11         | 0.07432                 |\n| ./spec/features/form_errors_spec.rb                         | 2             | 1.1          | 0.54813                 |\n| ./spec/generators/dashboard_generator_spec.rb               | 20            | 1.06         | 0.05293                 |\n| ./spec/features/orders_form_spec.rb                         | 7             | 1.01         | 0.14472                 |\n| ./spec/features/show_page_spec.rb                           | 10            | 0.67528      | 0.06753                 |\n| ./spec/i18n_spec.rb                                         | 2             | 0.58921      | 0.2946                  |\n| ./spec/features/search_spec.rb                              | 3             | 0.57751      | 0.1925                  |\n| ./spec/features/orders_index_spec.rb                        | 6             | 0.57129      | 0.09521                 |\n| ./spec/features/products_index_spec.rb                      | 4             | 0.54049      | 0.13512                 |\n| \u003cabridged\u003e                                                  |               |              |                         |\n\nRandomized with seed 40301\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodlp%2Frspec_overview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodlp%2Frspec_overview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodlp%2Frspec_overview/lists"}