[openstack-dev] Why no test DB ?

Kevin L. Mitchell kevin.mitchell at rackspace.com
Mon Dec 10 16:36:20 UTC 2012


On Mon, 2012-12-10 at 09:59 +1000, Matthew Sherborne wrote:
> Why don't we create and destroy a test sqlite in memory database for
> the tests instead of stubbing out the DB calls ?

Stubbing out the DB calls makes perfect sense for the unit tests, which
honestly should be (but isn't) the bulk of our test suite.  Using an
in-memory database is exactly what should be happening for the function
tests, and Monty's comment indicates that it is…

-- 
Kevin L. Mitchell <kevin.mitchell at rackspace.com>




More information about the OpenStack-dev mailing list