Hello world: Introducing RSpactor
This is my first post at rubyphunk.com, so let me welcome you all: ‘Hello World’. Along with this initial post goes the release of a first version (0.2.0) of RSpactor.
RSpactor?
RSpactor is a little command line tool to automatically run your changed specs (much like autotest). As you may expect, it concentrates on the use of RSpec. It was especially designed to use filesystem events like FSEvent on Leopard (MacOS 10.5) instead of permanently polling a directory structure. RSpactor is currently only working on Mac OS 10.5. But hey: I’m very confident that the next version of RSpactor will work on Linux boxes, too.
Features
- Application agnostic: RSpactor can be used with any ruby project
- Subdirectory agnostic: RSpactor is capable of running all specs under a specific subdirectory
- RSpactor uses system events (fast and polite to your box)
- Growl integration
Dependencies & Limitations
Due to its design of using FSEvent, it is currently limited to Mac OS X 10.5 (Leopard) only. RSpactor requires RubyCocoa, that is shipped with Leopard. Furthermore it expects your “spec/” directory to be located directly under the root of your project.
Installation & Usage
Setup: sudo gem install rspactor
Run: cd /path/to/your/app/or/subdir/of/your/app && rspactor
Perspective
This is a very “draft” and early version if RSpactor. Please don’t expect it to work without any failures. If you have any ideas or may want to contribute, just drop me a line. The next release comes with polished source, linux support and specs (I’m aware of the fact, that RSpactor is a test-runner that doesn’t even contain one single spec :-) ).
Comments
szeryf said on Thursday, July 17, 2008:
any chances on Tiger (MacOSX 10.4) compatible version?
rubyphunk said on Thursday, July 31, 2008:
This won't work because RSpactor is build around FSEvent which was introduced by Mac 10.5