public
Description: Ruby TestSwarm implementation for distributed JavaScript testing
Homepage:
Clone URL: git://github.com/visionmedia/jspec-swarm.git
name age message
file History.md Sun Sep 20 09:18:17 -0700 2009 History + Readme [visionmedia]
file Manifest Sun Sep 20 18:31:59 -0700 2009 Added Manifest [visionmedia]
file Rakefile Sat Oct 10 10:47:42 -0700 2009 Updated dependencies (no more github!) [visionmedia]
file Readme.md Sat Oct 10 10:47:42 -0700 2009 Updated dependencies (no more github!) [visionmedia]
directory bin/ Wed Oct 21 18:05:38 -0700 2009 Updated to JSpec 2.11.6 [visionmedia]
directory jspec/ Wed Oct 21 18:06:12 -0700 2009 Fixed jspec paths due to github not building ge... [visionmedia]
directory lib/ Sun Sep 20 18:30:56 -0700 2009 Added Rakefile and lib/swarm.rb [visionmedia]
directory spec/ Sun Sep 20 18:30:56 -0700 2009 Added Rakefile and lib/swarm.rb [visionmedia]
file swarm.gemspec Sat Oct 10 10:47:42 -0700 2009 Updated dependencies (no more github!) [visionmedia]
Readme.md

Swarm

Distributed JavaScript testing framework written in Ruby, inspired by TestSwarm.

Installation

Install Gemcutter and execute:

$ sudo gem install swarm

Features

  • Simple installation / deployment
  • Written in Ruby
  • Distributed as a RubyGem
  • Database agnostic
  • Written with Sinatra / Datamapper
  • Tests written with RSpec / JSpec
  • Full Ruby test coverage
  • Full JavaScript test coverage

Swarm vs TestSwarm

                +---------+-----------+
                | Swarm   | TestSwarm |
+---------------+---------+-----------+
| Language      | Ruby    | PHP       |   
+---------------+---------+-----------+
| Distribution  | Gem     | None      |   
+---------------+---------+-----------+
| RDMS Support  | Any     | MySQL     |   
+---------------+---------+-----------+
| Test Coverage | Full    | None      |   
+---------------+---------+-----------+
| Modular       | Yes     | No        |   
+---------------+---------+-----------+

Usage

  • Coming soon

Testing Ruby

$ autospec

Testing JavaScript

See JSpec for more information.

$ jspec run

Contributors

License

(The MIT License)

Copyright (c) 2009 TJ Holowaychuk tj@vision-media.ca

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.