Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (32 sloc) 1.775 kb
b32d264 Initial commit to lab_bench.
Bradley Buda authored
1 = lab_bench
2
6c306b4 TODOs
Bradley Buda authored
3 A browser-based runner for ruby Test::Unit tests.
4
738db57 Add usage instructions to README
Bradley Buda authored
5 == Usage
6
7 Install the gem:
8
9 <tt>gem install lab_bench</tt>
10
11 If you're using Rails 2.x, add this to config/environment.rb:
12
13 <tt>config.gem 'lab_bench'</tt>
14
15 Start the server in a new console / screen:
16
17 <tt>lab_bench_server</tt>
18
19 Send your browser to http://localhost:9020/ then run your tests like this:
20
21 <tt>rake test TESTOPTS="--runner=lab_bench"</tt>
22
6c306b4 TODOs
Bradley Buda authored
23 == TODO
24
659a060 listen on the loopback adapter instead of localhost
Bradley Buda authored
25 * Give me more context on the test suite (names of files being run, command line, project directory, etc)
e9ffe67 update TODOs
Bradley Buda authored
26 * Trim dependencies, or break into two gems (client / server) so we can minimize the number of dependencies we pull into the test runner
27 * Rails 3 compatability
6c306b4 TODOs
Bradley Buda authored
28 * Allow me to rerun a suite
29 * Allow me to rerun a test
30 * Allow me to rerun all failed tests within a suite
31 * Continuous rerunning of failed tests (like autotest)
32 * Rerunning of failed tests when files change (like autotests)
33 * Notifications for success and failure
354ace2 update TODOs
Bradley Buda authored
34 * Limit the number of events buffered on the server
b32d264 Initial commit to lab_bench.
Bradley Buda authored
35
36 == Contributing to lab_bench
37
38 * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
39 * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
40 * Fork the project
41 * Start a feature/bugfix branch
42 * Commit and push until you are happy with your contribution
43 * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
44 * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
45
46 == Copyright
47
e9ffe67 update TODOs
Bradley Buda authored
48 Copyright (c) 2010 Bradley Buda. See LICENSE.txt for further details.
b32d264 Initial commit to lab_bench.
Bradley Buda authored
49
Something went wrong with that request. Please try again.