Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (31 sloc) 1.579 kb
57e192e @billhorsman First working copy that's useful.
authored
1 TestOwl
2 =
3
4 Narrow Minded TestUnit/RSpec, Watchr and Growl Integration for Continuous Testing. TestOwl assumes you are running Rails and makes some guesses about what tests depend on what files. For instance, if you change model Foo then it looks for foo_test.rb and foos_controller_test.rb.
5
6 At the very least, it will run each test every time you save it.
7
8 Usage
9 ==
10
11 From Rails root:
12
13 testowl
14
15 Er, that's it. If you're using [bundler](http://gembundler.com/) then you should probably run:
16
17 bundle exec testowl
18
19 Dependencies
20 ==
21
22 It uses Watchr to monitor which files are changed.
23
24 It uses [growlnotifiy](http://growl.info/extras.php) to send messages to Growl.
25
26 Test Unit
27 ==
28
29 It assumes Test Unit at the moment, although it wouldn't take much to support RSpec too.
30
31 Spork
32 ==
33
34 [Spork](https://github.com/timcharper/spork) is a testing framework for RSpec and Cucumber that forks before each run to ensure a clean testing state. By preloading the Rails environment it speeds up the launch time to run tests. This is especially significant when running single, small tests.
35
36 If you are running Spork then it will use it (assuming it is on port 8988) but if it gets no response on that port then it will just run the tests directly.
37
38 Todo
39 ==
40
41 * Support Rspec
42 * Make Drb port configurable
43 * Make DSL to define relationship between changed files and tests to run.
44 * Add some more rules for relationships
45 * Make it more resilient to growlnotify not being installed
46
47 Credits
48 ==
49
50 Copyright (c) 2011 (http://bill.logicalcobwebs.com)[Bill Horsman], released under the MIT license.
Something went wrong with that request. Please try again.