I am trying to get my heads "dirty" with TDD and for some reason when I run bundle exec rake test
on the command line, nothing happens.
Here is my RakeFile
:
require 'rake/testtask'
Rake::TestTask.new do |test|
test.libs << 'test'
end
desc "Run Tests"
task :default => :test
Here is my test file:
require 'test/unit'
class TestMygem < Test::Unit::TestCase
def test_silly_example
assert_equal 2+2, 5
end
end
db:migrate
? – Odeliaodelindatest.test_files = FileList['tests/test_*.rb']
to my RakeFile – Jaundiced