Rake system check task does not run my tests

I'm sure I'm doing something naive or stupid, I'm just not sure what it is.

I am writing a simple library for analyzing data URIs. Being so simple, I thought I would go ahead and just give a ruby-1.9 miniature vortex. Tests work fine when I run them manually, but when I try to run them using the "rake test", hoping to trigger the task of checking the rake system, I get no joy. In particular, with traces and details:

Donalds-Decisiv-MacBook-Pro:data_uri dball$ rake test -t -v
(in /Users/dball/src/data_uri)
** Invoke test (first_time, not_needed)

I have tests in the test folder, they all start with test_ and end with .rb. Any ideas?

Project repository http://github.com/dball/data_uri

+3
source share
1 answer

, .

Rakefile:

require 'rake/testtask'
Rake::TestTask.new do |i|
  i.test_files = FileList['test/test_*.rb']
  i.verbose = true
end

.

+3

Source: https://habr.com/ru/post/1784881/


All Articles