Running the tests

Hello, I can’t make rake run the tests inside the engine directory
instead of the app.

my Rakefile is
require(File.join(File.dirname(FILE), ‘config’, ‘boot’))

require ‘rake’
require ‘rake/testtask’
require ‘rake/rdoctask’
require ‘tasks/rails’
require ‘fileutils’

desc “Default Task”
task :default => [ :test ] do |t|
t.libs << “test”
t.test_files =
t.verbose = true

rake ignore the FileList and run the tests located inside the app/test
rake is executed from app root directory.

Have a good sunday

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs