# Running rake test tasks with engines

**URL:** <https://www.ruby-forum.com/t/running-rake-test-tasks-with-engines/59489>\
**Category:** Engines\
**Created:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/running-rake-test-tasks-with-engines/59489 "2006-05-03T19:09:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![surendra\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ad7895/32.png) [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Post date:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/running-rake-test-tasks-with-engines/59489/1 "2006-05-03T19:09:36Z")

</div>

Hello,  
I am using the login\_engine and user\_engine in my application.  
For testing my application if I run  
‘rake test’  
it falis because the rake test task doesn’t runs the rake bootstrap and  
rake  
sync\_permissions (or their equivalent) task on the test\_db.

How can I make the different `rake test’ tasks run the engines rake  
tasks (or  
their code equivalent) before starting the actual testing.

Thanks for our help.

–  
Surendra S.  
[http://ssinghi.kreeti.com](http://ssinghi.kreeti.com), [http://www.kreeti.com](http://www.kreeti.com)  
Read my blog at: [http://cuttingtheredtape.blogspot.com/](http://cuttingtheredtape.blogspot.com/)  
,----  
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”  
| – Orwell, 1984, 1948  
`----
