Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (23 sloc) 0.768 kb
0607826f »
2007-03-14 Added rake test task
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
9b6dac2b »
2007-07-22 more refactorings
5 require 'lib/tasks/list_tests.rb'
6
7 # Test::Unit::UI::VERBOSE
8
0607826f »
2007-03-14 Added rake test task
9 Rake::TestTask.new do |t|
3a8b77d1 »
2007-07-14 - completely refactored the test system to use a fake rails_root
10 t.libs << 'lib'
6108062f »
2007-07-20 Moved old tests back into place
11 t.pattern = 'test/{unit,functional,other}/**/*_test.rb'
9b6dac2b »
2007-07-22 more refactorings
12 t.verbose = false
0607826f »
2007-03-14 Added rake test task
13 end
14
1ecd0291 »
2007-04-05 - documentation
15 Rake::RDocTask.new { |rdoc|
16 rdoc.rdoc_dir = 'doc'
7910643c »
2007-04-06 doc changes and renamed a file
17 rdoc.title = "Shoulda -- Making your tests easy on the fingers and eyes"
1ecd0291 »
2007-04-05 - documentation
18 rdoc.options << '--line-numbers' << '--inline-source'
19 rdoc.template = "#{ENV['template']}.rb" if ENV['template']
20 rdoc.rdoc_files.include('README', 'lib/**/*.rb')
21 }
22
037e9c81 »
2007-07-24 Added task to sync docs to dev.thoughtbot.com
23 desc 'Update documentation on website'
24 task :sync_docs => 'rdoc' do
25 `rsync -ave ssh doc/ dev@dev.thoughtbot.com:/home/dev/www/dev.thoughtbot.com/shoulda`
26 end
27
0607826f »
2007-03-14 Added rake test task
28 desc 'Default: run tests.'
29 task :default => ['test']
Something went wrong with that request. Please try again.