The only way to declare that a fixture requires a database is the db
fixture. However, since #1186 this will only pull in the default database. As far as I can see, there is currently no way to specify a different database.
Prior to #1186, the db
fixture pulled in all databases.