{"id":13463364,"url":"https://github.com/sevos/zeus-parallel_tests","last_synced_at":"2025-03-25T06:31:56.649Z","repository":{"id":7616822,"uuid":"8975595","full_name":"sevos/zeus-parallel_tests","owner":"sevos","description":null,"archived":true,"fork":false,"pushed_at":"2019-10-22T13:18:24.000Z","size":106,"stargazers_count":194,"open_issues_count":7,"forks_count":22,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-29T13:50:59.320Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sevos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-23T19:11:20.000Z","updated_at":"2024-04-29T10:05:08.000Z","dependencies_parsed_at":"2022-09-05T02:40:10.797Z","dependency_job_id":null,"html_url":"https://github.com/sevos/zeus-parallel_tests","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevos%2Fzeus-parallel_tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevos%2Fzeus-parallel_tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevos%2Fzeus-parallel_tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sevos%2Fzeus-parallel_tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sevos","download_url":"https://codeload.github.com/sevos/zeus-parallel_tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414313,"owners_count":20611357,"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-07-31T13:00:52.061Z","updated_at":"2025-03-25T06:31:56.348Z","avatar_url":"https://github.com/sevos.png","language":"Ruby","readme":"# Zeus::ParallelTests\n\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n[![Circle CI](https://circleci.com/gh/sevos/zeus-parallel_tests.svg?style=svg)](https://circleci.com/gh/sevos/zeus-parallel_tests)\n[![Dependency Status](https://gemnasium.com/sevos/zeus-parallel_tests.png)](https://gemnasium.com/sevos/zeus-parallel_tests)\n[![Gem Version](https://badge.fury.io/rb/zeus-parallel_tests.svg)](http://badge.fury.io/rb/zeus-parallel_tests)\n\n[Zeus](https://github.com/burke/zeus) is a tool for speeding up your tests by preloading a Rails app.\n[parallel_tests](https://github.com/grosser/parallel_tests) also speeds up your tests by running them, well,\nin parallel. Two good gems, so why not to use them together? Let's make our CPUs sweat!\n\n## Show me the numbers!\n\n### RSpec\n\n```\n$ time rspec spec\n\n...\n\nFinished in 1 minute 8.34 seconds\n916 examples, 0 failures\n\nreal    1m21.480s\nuser    1m4.805s\nsys     0m4.516s\n```\n\n### parallel_tests\n\n```\n$ time rake parallel:spec[8]\nUsing recorded test runtime\n8 processes for 141 specs, ~ 17 specs per process\n\n...\n\n916 examples, 0 failures\n\nTook 46.626499 seconds\n\nreal    0m55.790s\nuser    4m3.065s\nsys     0m32.160s\n```\n\n### Zeus+parallel_tests\n\n```\n$ time zeus rake parallel:spec[8]\nDeveloper helpers loaded\nUsing recorded test runtime\n8 processes for 141 specs, ~ 17 specs per process\n\n...\n\n916 examples, 0 failures\n\nTook 26.610327 seconds\n\nreal    0m28.514s\nuser    0m0.732s\nsys     0m0.061s\n```\n\nReady to go?\n\n## Installation\n  \n[RailsCast episode #413 Fast Tests](http://railscasts.com/episodes/413-fast-tests)  \n\nAdd this line to your application's Gemfile:\n\n    gem 'zeus-parallel_tests'\n\nAnd then execute:\n\n    $ bundle\n\nYou need also to initialize your project with custom Zeus plan:\n\n    $ zeus-parallel_tests init\n\nThis will create two files in your project:\n\n* custom_plan.rb\n* zeus.json\n\n### RVM\n\nFor RVM users it is recommended to install rubygems-bundler gem.\n\n## Usage\n\nFirst [follow instructions](https://github.com/grosser/parallel_tests) and prepare\nyour application to use parallel_tests.\n\nLaunch another terminal and run zeus' master process:\n\n    $ bundle exec zeus start\n\nThen you can run your parallel specs:\n\n    $ zeus parallel_rspec spec\n\nor your cucumbers:\n\n    $ zeus parallel_cucumber features\n\n## What is supported?\n\n* rspec\n* cucumber\n* guard-rspec since v2.5.2 (just pass `zeus: true` and `parallel: true` into configuration hash, you can play with `bundler: false` option to speed things up)\n* caching: you must set `config.cache_store = :memory_store` as Zeus will not reload the various cache files used by parallel_tests instances\n\n## TODO\n\n* minitest support\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":["Testing"],"sub_categories":["Distributed Testing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevos%2Fzeus-parallel_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsevos%2Fzeus-parallel_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsevos%2Fzeus-parallel_tests/lists"}