{"id":15393895,"url":"https://github.com/mitchellh/minitest-parallel","last_synced_at":"2025-04-15T23:52:36.828Z","repository":{"id":1668398,"uuid":"2395166","full_name":"mitchellh/minitest-parallel","owner":"mitchellh","description":"Proof of concept to run your minitest tests in parallel.","archived":false,"fork":false,"pushed_at":"2011-09-15T20:26:56.000Z","size":91,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T05:59:26.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mitchellh.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":"2011-09-15T20:26:45.000Z","updated_at":"2019-11-09T02:36:11.000Z","dependencies_parsed_at":"2022-09-06T01:40:18.212Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/minitest-parallel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-parallel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-parallel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-parallel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fminitest-parallel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/minitest-parallel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"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-01T15:20:42.857Z","updated_at":"2025-04-15T23:52:36.805Z","avatar_url":"https://github.com/mitchellh.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# minitest-parallel\n\nThis is an extension to [minitest](https://github.com/seattlerb/minitest)\nwhich will run your minitest tests in parallel. It is up to you to ensure\nthat there is no shared state which can collide.\n\nThis code is pretty much identical at the moment to ngauthier's\n[minitest-parallel](https://github.com/ngauthier/minitest-parallel) project.\nI needed to make some quick changes to get it working for a talk, so I\ncloned and pushed instead. But props to him!\n\n**WARNING:** This is a _proof of concept_. It works, but is not intended --\nin its current form -- to be used for production tests.\n\n## Example\n\n`require` minitest-parallel in your tests:\n\n```ruby\nrequire \"minitest/autorun\"\nrequire \"minitest/parallel\"\nrequire \"minitest/unit\"\n\nclass MyTest \u003c MiniTest::Unit::TestCase\n  def test_things\n    puts \"test_things\"\n    sleep 2\n    assert true\n  end\nend\n\nclass AnotherTest \u003c MiniTest::Unit::TestCase\n  def test_other_things\n    puts \"test_other_things\"\n    sleep 2\n    assert true\n  end\nend\n```\n\nRun them:\n\n    $ ruby my_test.rb\n    # Running tests:\n\n    test_things\n    test_other_things\n    ..\n\n    Finished tests in 2.081270s, 0.9610 tests/s, 0.9610 assertions/s.\n\n    2 tests, 2 assertions, 0 failures, 0 errors, 0 skips\n\nNotice that although both tests have a `sleep` in them, they ran in parallel.\nBy default `minitest/parallel` will run the number of processes equal to your\ncores.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fminitest-parallel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fminitest-parallel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fminitest-parallel/lists"}