rubys / awdwr

Agile Web Development With Rails

awdwr / README
100644 40 lines (27 sloc) 1.2 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Running this should only require Rails 2.2.2 or later, the command line
interfaces for sqlite3 and curl and the mislav-will_paginate plugin.
Tested on Ubuntu Linux 9.04 ("Jaunty Jackalope") and Mac OSX 10.5.6 ("Leopard").
 
Installation of all necessary dependencies from a fresh install of Ubuntu 9.04:
 
  sudo apt-get install rails git-core sqlite3 curl
  sudo gem install rubygems-update
  sudo /var/lib/gems/1.8/bin/update_rubygems
  sudo gem install rails
  sudo gem sources -a http://gems.github.com
  sudo gem install mislav-will_paginate
 
Execution instructions:
 
  ruby makedepot.rb [VERSION] [restore] [RANGE]... [save]
 
    "restore" - restore from snapshot before resuming execution
 
    "VERSION" specifies the Rails version to test. Examples:
      edge
      _2.2.2_
      ~/git
 
    "RANGE" specifies a set of sections to execute. Examples:
      6.2..6.5
      7.1-9.5
      16
 
    "save" - save snapshot after execution completes
 
  Output will be produced as makedepot.html.
 
Tests against makedepot.html can also be run separately:
 
  ruby checkdepot.rb [partial]
 
  "partial" means that tests which cover sections that are not included in
    makedepot.html are to be omitted.