{"id":15406476,"url":"https://github.com/odlp/insanity","last_synced_at":"2025-08-13T11:30:54.367Z","repository":{"id":56877688,"uuid":"54904581","full_name":"odlp/insanity","owner":"odlp","description":"The definition of insanity is doing the same thing over and over and expecting different results","archived":false,"fork":false,"pushed_at":"2018-06-22T16:30:10.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T22:15:54.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odlp.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-03-28T16:06:21.000Z","updated_at":"2021-05-21T13:01:48.000Z","dependencies_parsed_at":"2022-08-20T10:40:36.525Z","dependency_job_id":null,"html_url":"https://github.com/odlp/insanity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odlp/insanity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Finsanity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Finsanity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Finsanity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Finsanity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odlp","download_url":"https://codeload.github.com/odlp/insanity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odlp%2Finsanity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266785497,"owners_count":23983825,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-01T16:23:11.689Z","updated_at":"2025-07-24T05:35:48.575Z","avatar_url":"https://github.com/odlp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insanity [![Build Status](https://travis-ci.org/odlp/insanity.svg?branch=master)](https://travis-ci.org/odlp/insanity)\n\nRun a command repeatedly to check for differences. Handy for discovering flaky tests or verifying a change doesn't lead to instability.\n\nInsanity allows you to:\n\n- See a summary of the exit statuses\n- Save the output of each repetition\n\n## Usage\n\nRunning the following:\n\n```\ninsanity 'rspec ./spec/my_flaky_spec.rb' -i 10\n```\n\nWill run the command 10 times and output something like:\n\n```\n..........\n\n10 iterations complete.\n\nStatus 0\t| 8 times\nStatus 1\t| 2 times\n```\n\n### Command options\n\n- `-i 99` / `--iterations 99`: Number of many times to run the command. Default: 100.\n- `-o ./tmp` / `--output-dir ./tmp`: Save output in this directory. Each iteration is written to an individual file (combined stdout \u0026 stderr). Default: No output saved.\n\n## Installation\n\nInstall the gem directly:\n\n```\ngem install insanity\n```\n\nDon't forget to run `rbenv rehash` if you use Rbenv.\n\nAlternatively add the following to your Gemfile:\n\n```\ngem 'insanity'\n```\n\nAnd run `bundle install`.\n\n## Development notes\n\n- `rake` runs the [RSpec](http://rspec.info/) tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodlp%2Finsanity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodlp%2Finsanity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodlp%2Finsanity/lists"}