Re: [openstack-dev] [all] Acceptable methods for establishing per-test-suite behaviors

2014-08-25 Thread Doug Hellmann
On Aug 22, 2014, at 4:09 PM, James E. Blair wrote: > Hi, > > One of the things we've wanted for a while in some projects is a > completely separate database environment for each test when using MySQL. > To that end, I wrote a MySQL schema fixture that is in use in nodepool: > > http://git.open

Re: [openstack-dev] [all] Acceptable methods for establishing per-test-suite behaviors

2014-08-22 Thread James E. Blair
Hi, One of the things we've wanted for a while in some projects is a completely separate database environment for each test when using MySQL. To that end, I wrote a MySQL schema fixture that is in use in nodepool: http://git.openstack.org/cgit/openstack-infra/nodepool/tree/nodepool/tests/__init__

[openstack-dev] [all] Acceptable methods for establishing per-test-suite behaviors

2014-08-22 Thread Mike Bayer
Hi all - I’ve spent many weeks on a series of patches for which the primary goal is to provide very efficient patterns for tests that use databases and schemas within those databases, including compatibility with parallel tests, transactional testing, and scenario-driven testing (e.g. a test th