[openstack-dev] Why no test DB ?

Matthew Sherborne msherborne at gmail.com
Sun Dec 9 23:59:44 UTC 2012


Why don't we create and destroy a test sqlite in memory database for the
tests instead of stubbing out the DB calls ?

*Pros:*
More thorough testing
More straight forward testing (create records instead of whole mock
structures)
Easier to create new tests, no need to stub everything out again, just use
the base test DB

*Cons:*
Probably slower tests

Has anyone looked at this in the past ?

All comments appreciated.

Kind Regards,
Matthew Sherborne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121210/16898414/attachment.html>


More information about the OpenStack-dev mailing list