Reorganized the Specs subdirectories to mirror the layout of Code/. Added new rake task for running the test server. Introduced dependence on Shotgun and Thin for the Spec server. Infrastructure is all in place, now to get the tests themselves healthy.

This commit is contained in:
Blake Watters
2011-03-09 20:05:22 -05:00
parent 8138e96df6
commit af387fe4e0
35 changed files with 174 additions and 210 deletions

View File

@@ -29,6 +29,12 @@ namespace :uispec do
uispec_runner = UISpecRunner.new(options)
uispec_runner.run_protocol!('UISpecIntegration')
end
desc "Run the Spec server via Shotgun"
task :server do
server_path = File.dirname(__FILE__) + '/Specs/Server/server.rb'
system("shotgun --port 4567 #{server_path}")
end
end
desc "Run all specs"