# rake test, disable rebuild of test database

**URL:** <https://discuss.rubyonrails.org/t/rake-test-disable-rebuild-of-test-database/11164>\
**Category:** rubyonrails-talk\
**Created:** [April 2, 2007, 6:53pm UTC](https://discuss.rubyonrails.org/t/rake-test-disable-rebuild-of-test-database/11164 "2007-04-02T18:53:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredrik1](https://avatars.discourse-cdn.com/v4/letter/f/76d3ee/32.png) [@Fredrik1](https://discuss.rubyonrails.org/u/Fredrik1)\
**Post date:** [April 2, 2007, 6:53pm UTC](https://discuss.rubyonrails.org/t/rake-test-disable-rebuild-of-test-database/11164/1 "2007-04-02T18:53:13Z")

</div>

Hi, I was wondering if someone knows of a good way to disable the rebuilding of the test database on each rake test execution. At this point I'd prefer just to run the tests I have against a copy of the production database. I'm using multiple databases and have quite a few tables and just don't see myself maintaining fixtures for all of these atm (atm really means never, I think. or atleast that's the way it ususally ends up 😉 ).

Not the rails way, I know, but I'm also dealing with a bunch of legacy tables and that's not the rails way either, but it works.

Thanks, Fredrik
