Y
Yogi
Hello all!
I've been getting some odd behaviour in rake. The foll cmd doesn't
seem to run the tests in foo_test.rb. I'm using ruby 1.8.2, rake
0.4.13, on linux (fedora core 2)
------------------
$ rake
(in /home/yogi/tmp)
ruby -Ilib -e0 -rfoo_test
Loaded suite .
Started
Finished in 0.001298 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
---the rakefile is---
require 'rake'
require 'rake/testtask'
desc "Default Task"
task :default => [ :test ]
test_file_pattern = '**/*_test.rb'
fl = FileList.new(test_file_pattern)
Rake::TestTask.new { |t|
t.test_files = fl
t.verbose = true
}
--- foo_test.rb ---
require 'test/unit'
class FooTest < Test::Unit::TestCase
def test_someting
assert(true)
end
end
I've also tried running "ruby -Ilib -e0 -rfoo_test", and it gives the
same output.
Thanks,
- Yogi
I've been getting some odd behaviour in rake. The foll cmd doesn't
seem to run the tests in foo_test.rb. I'm using ruby 1.8.2, rake
0.4.13, on linux (fedora core 2)
------------------
$ rake
(in /home/yogi/tmp)
ruby -Ilib -e0 -rfoo_test
Loaded suite .
Started
Finished in 0.001298 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
---the rakefile is---
require 'rake'
require 'rake/testtask'
desc "Default Task"
task :default => [ :test ]
test_file_pattern = '**/*_test.rb'
fl = FileList.new(test_file_pattern)
Rake::TestTask.new { |t|
t.test_files = fl
t.verbose = true
}
--- foo_test.rb ---
require 'test/unit'
class FooTest < Test::Unit::TestCase
def test_someting
assert(true)
end
end
I've also tried running "ruby -Ilib -e0 -rfoo_test", and it gives the
same output.
Thanks,
- Yogi