Ruby on Rails
Friday, February 6, 2015
I can't figure out why the following Rakefile:
see no test test files when running rake from the root of the project:
here the content of test_helper.rb:
When running rake:
Minitest version: minitest (5.5.0, 4.7.5)
Ruby version: ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Any idea ?
Thank you
-- require 'rake/testtask'
task default: :test
Rake::TestTask.new do |t|
t.libs << %w(test lib)
t.pattern = "test/test_*.rb"
end
see no test test files when running rake from the root of the project:
minitest-project
- lib
- meme.rb
- test
- test_meme.rb
- test_helper.rb
here the content of test_helper.rb:
require 'minitest/autorun'
require 'minitest/reporters'
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new # spec-like progress
When running rake:
Run options: --seed 54795
# Running tests:
Finished tests in 0.004000s, 0.0000 tests/s, 0.0000 assertions/s.
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
Minitest version: minitest (5.5.0, 4.7.5)
Ruby version: ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Any idea ?
Thank you
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/57a3b06b-6610-4a31-a62e-b76aa87f5486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment