# Running the tests

**URL:** <https://www.ruby-forum.com/t/running-the-tests/87231>\
**Category:** Engines\
**Created:** [March 26, 2006, 9:07am UTC](https://www.ruby-forum.com/t/running-the-tests/87231 "2006-03-26T09:07:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chriscole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5fc32e/32.png) [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Post date:** [March 26, 2006, 9:07am UTC](https://www.ruby-forum.com/t/running-the-tests/87231/1 "2006-03-26T09:07:45Z")

</div>

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]

Rake::TestTask.new do |t|  
t.libs \<\< “test”  
t.test\_files =  
FileList[‘vendor/plugins/publish\_engine/test/\*\_test.rb’]  
t.verbose = true  
end

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

Have a good sunday
