Skip to content

Commit

Permalink
Implementing the beginnings of the test structure
Browse files Browse the repository at this point in the history
  • Loading branch information
leehambley committed Apr 29, 2011
1 parent c597e87 commit 2f7fb80
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# A sample Gemfile
source "http://rubygems.org"

group :test do
gem "daemon_controller"
gem "mocha"
gem "minitest"
end
14 changes: 14 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
GEM
remote: http://rubygems.org/
specs:
daemon_controller (0.2.6)
minitest (2.1.0)
mocha (0.9.12)

PLATFORMS
ruby

DEPENDENCIES
daemon_controller
minitest
mocha
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'rake/testtask'

Rake::TestTask.new do |t|
t.test_files = FileList['test/**/test*.rb']
t.verbose = true
end

task :default => :test
Empty file.
6 changes: 6 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require "rubygems"
require "bundler/setup"

require 'minitest/unit'
require 'minitest/autorun'

Empty file added test/support/ssh_daemon.rb
Empty file.
Empty file added test/tmp/.gitkeep
Empty file.
Empty file added test/tmp/log/.gitkeep
Empty file.
Empty file added test/tmp/pids/.gitkeep
Empty file.
Empty file added test/tmp/sandbox/.gitkeep
Empty file.

0 comments on commit 2f7fb80

Please sign in to comment.