{"id":46051321,"url":"https://github.com/rsanheim/plur","last_synced_at":"2026-03-09T05:09:07.614Z","repository":{"id":340857039,"uuid":"1167407450","full_name":"rsanheim/plur","owner":"rsanheim","description":"fast, parallel tests and test watcher","archived":false,"fork":false,"pushed_at":"2026-02-26T20:54:09.000Z","size":16519,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T02:11:44.618Z","etag":null,"topics":["rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsanheim.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-26T09:04:41.000Z","updated_at":"2026-02-26T20:42:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rsanheim/plur","commit_stats":null,"previous_names":["rsanheim/plur"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/rsanheim/plur","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsanheim%2Fplur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsanheim%2Fplur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsanheim%2Fplur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsanheim%2Fplur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsanheim","download_url":"https://codeload.github.com/rsanheim/plur/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsanheim%2Fplur/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["rails","ruby"],"created_at":"2026-03-01T09:02:03.542Z","updated_at":"2026-03-09T05:09:07.598Z","avatar_url":"https://github.com/rsanheim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plur\n\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/rsanheim/plur/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/rsanheim/plur/tree/main)\n\n`plur` is a fast, parallel, drop-in test runner and watcher primarily targeting Ruby and Rails using RSpec or Minitest. Its written in Go, so just install once and use across all your projects.\n\n## Quick Start\n\n```\nbrew install rsanheim/tap/plur\ncd my-rails-project\nplur -n 4 --dry-run # preview what would run (no actual test execution)\nplur -n 4           # run tests across four cores\nplur                # run tests with auto-detected workers (cores - 2)\nplur watch          # watch for changes and run tests automatically\n```\n\n## Supported Platforms\n\n* macOS ARM64 (Apple Silicon)\n* Linux x86_64\n* Linux ARM64\n* _Experimental_ Windows x86_64\n\nWatch mode (`plur watch`) will install platform-specific binaries on first use. \n\n## Key Features\n\n### Parallel Test Execution\n```bash\nplur -n 4                    # Run with specific worker count\nplur                          # Auto-detect workers (cores-2)\nplur --dry-run               # Preview execution plan\n```\n\n### Database Management\n```bash\nplur db:create -n 3          # Create test databases in parallel\nplur db:migrate -n 3         # Run migrations across all test DBs\nplur db:setup -n 3           # Full database setup\n```\n\n### Explicit Framework Selection\n\nFor projects where you have both rspec and minitest tests, you can explicitly select the framework you want to use.\n\n```bash\nplur --use=rspec             # Run RSpec tests explicitly\nplur --use=minitest          # Run Minitest tests\n```\n\nIf there is just one framework, omit the `--use` flag and plur will auto-detect the framework.\n\n### Configuration\n\nPlur supports TOML configuration files for persistent settings:\n```toml\n# .plur.toml or ~/.plur.toml\nworkers = 4\n\n[job.rspec]\ncmd = [\"bin/rspec\"]\n\n[[watch]]\nname = \"lib-to-spec\"\nsource = \"lib/**/*.rb\"\ntargets = [\"spec/{{match}}_spec.rb\"]\njobs = [\"rspec\"]\n```\n\nConfig files load in this order (later files override earlier values):\n1) `~/.plur.toml`\n2) `.plur.toml`\n3) `PLUR_CONFIG_FILE` (if set)\n\nSee `docs/examples/` directory for more configuration examples.\n\n### Environment Variables\n* `TEST_ENV_NUMBER`: Worker 0 gets `\"\"`, worker N gets `\"N+1\"`\n* `PARALLEL_TEST_GROUPS`: Total number of workers\n* `PARALLEL_TEST_PROCESSORS`: Compatible with parallel_tests\n\nMore information in the [Documentation](docs/index.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsanheim%2Fplur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsanheim%2Fplur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsanheim%2Fplur/lists"}