{"id":15377487,"url":"https://github.com/mislav/polyamory","last_synced_at":"2025-04-15T17:11:53.587Z","repository":{"id":56888460,"uuid":"1019817","full_name":"mislav/polyamory","owner":"mislav","description":"A tool that knows how to run your tests regardless of framework","archived":false,"fork":false,"pushed_at":"2013-03-09T01:39:58.000Z","size":177,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T17:11:47.934Z","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/mislav.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":"2010-10-24T14:49:13.000Z","updated_at":"2020-07-29T11:22:19.000Z","dependencies_parsed_at":"2022-08-20T16:00:23.516Z","dependency_job_id":null,"html_url":"https://github.com/mislav/polyamory","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fpolyamory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fpolyamory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fpolyamory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fpolyamory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mislav","download_url":"https://codeload.github.com/mislav/polyamory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249116245,"owners_count":21215143,"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-10-01T14:11:56.307Z","updated_at":"2025-04-15T17:11:53.568Z","avatar_url":"https://github.com/mislav.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polyamory – the promiscuous test runner\n\nPolyamory is a command-line tool that knows how to run your tests regardless of\nthe framework. It can either run the whole test suite or filter by keywords,\ntest case names, or tags. It remembers the differences between arguments for\ndifferent testing frameworks so you don't have to.\n\nFrameworks supported:\n\n* Cucumber in `features/**/*.feature`\n* RSpec + Shoulda in `spec/**/*_spec.rb`\n* test/unit, Shoulda, or anything else in `test/**/*_test.rb` or `test/**/test*.rb`\n* Bats in `test/*.bats`\n\n## Installation\n\n    # Mac OS X\n    brew install https://github.com/mislav/polyamory/raw/master/brew/polyamory.rb\n\n    # other\n    gem i polyamory\n\n    # alias for brevity\n    alias pam=polyamory\n\n## Features\n\n*   `polyamory` - Runs the full test suite for any project. For example, it will\n    run all of the following:\n\n        rspec spec\n        cucumber features\n        ruby -e 'ARGV.each {|f| require f }' test/**/*_test.rb\n\n*   `polyamory \u003cdirname\u003e` - Runs all tests inside a subdirectory. For example:\n\n        polyamory models\n        -\u003e runs test/models/**/*_test.rb\n        -\u003e runs spec/models/**/*_spec.rb\n\n*   `polyamory \u003ckeyword\u003e` - Runs all test files that match a keyword. For example:\n\n        polyamory search\n        -\u003e runs test/models/user_search_test.rb\n        -\u003e runs spec/controllers/search_controller_spec.rb\n        -\u003e runs features/site_search.feature\n\n*   `polyamory \u003cfile\u003e:\u003cline\u003e` - Runs focused test. Provides this feature for\n    test/unit and minitest which don't support it.\n\n*   `polyamory -n \u003cpattern\u003e` - Runs only tests whose names match given patterns.\n\n*   `polyamory -t \u003ctag\u003e` - Runs RSpec/Cucumber tests that match given tags.\n    Tag exclusion is done with `~\u003ctag\u003e`. Tag names are normalized for Cucumber\n    (which expects them in form of `@\u003ctag\u003e`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fpolyamory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmislav%2Fpolyamory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fpolyamory/lists"}