Distributed testing for ruby with centralized management
Gorgon provides a method for distributing the workload of running ruby test suites. It relies on amqp for message passing, and rsync for the synchronization of source code.
This tutorial explains how to install gorgon in a sample app.
gorgon install_listener
from the directory where gorgon.json isgorgon ping
to check if the listener is runningcannot load such file -- qrack/qrack (LoadError)
, just add gem 'gorgon', '~> 0.8.4' , :group => :remote_test
to your Gemfile, and run tests using bundle exec gorgon
gorgon install_listener
didn’t work for you, you can try these stepsAlso note that the steps in the tutorial are not meant to work on every project, they will only give you initial settings. You will probably have to modify the following files:
If you modify ~/.gorgon/gorgon_listener.json, make sure you restart the listener.
This file contains project-specific settings for gorgon, such as:
See gorgon.json example for an example file.
This optional file contains sensitive information such as passwords that cannot be put in gorgon.json.
See gorgon_secret.json example for an example file.
This file contains the listener-specific settings, such as:
See gorgon_listener.json example for more details.
Read overview architecture
./run_dev_environment.sh
./run_listener.sh
NOTE: If you make changes changes to listener
code, you must restart ./run_listener.sh
for those changes to take effect
./run_test.sh
spec/dummy
project./run_gorgon.sh
version.rb
rake release
Gorgon is maintained by:
Gorgon is funded by Nulogy Corp.
Thank you to all the contributors.