Sha256: a2afd9d949ac241e1dc37c5f16a15d8e79ccc5e6777052ef8b1eceb230cdb52c

Contents?: true

Size: 1.54 KB

Versions: 4

Compression:

Stored size: 1.54 KB

Contents

# Specjour

_Distribute your spec suite amongst your LAN via Bonjour._

1. Start a dispatcher in your project directory.
2. Spin up a manager on each remote machine.
3. Say "goodbye" to your long coffee breaks.

## Requirements

* Bonjour or DNSSD (the capability and the gem)
* Rsync (system command used)
* Rspec (officially v1.3.0)

## Installation
    gem install specjour

## Start a manager
Running `specjour` on the command-line will start a manager which advertises that it's ready to run tests. By default, the manager will only use one worker to run the tests. If you had 4 cores however, you could use `specjour --workers 4` to run 4 sets of tests at once.

    $ specjour

## Setup the dispatcher
Add the rake task to the `Rakefile` in your project's directory.

    require 'specjour/tasks/specjour'

## Distribute the tests
Run the rake task in your project directory to start the test suite.

    $ rake specjour

The worker reports passes/failures in batches of 25 so you won't get immediate feedback, override the batch size via `specjour --batch-size 1`

## Note on Patches/Pull Requests

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

## Copyright

Copyright (c) 2010 Sandro Turriate. See MIT_LICENSE for details.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
specjour-0.1.4 README.markdown
specjour-0.1.3 README.markdown
specjour-0.1.2 README.markdown
specjour-0.1.1 README.markdown