Hi, On Wed, May 11, 2011 at 2:46 PM, Gavin Panella <gavin.pane...@canonical.com> wrote: > On 11 May 2011 13:20, Julian Edwards <julian.edwa...@canonical.com> wrote: > [...] >> I filed a bug on testtools some time ago about having persistent fixtures so >> when we have that hopefully we can get rid of layers and use fixtures. > > I think https://launchpad.net/testresources covers this sort of > ground. Unsurprisingly, lifeless is the maintainer, and the top > contributor also works for Canonical.
The testresource package is used in Cloud Deck and it works very well. Storm has a builtin ZStormResourceManager that can be used to wire up tests that need the database. Something I miss (and maybe I just don't where they are) is a set of obvious stock resources. I've written some (for managing temporary directories and files and for mocking stdout): http://bazaar.launchpad.net/~jkakar/commandant/trunk/view/head:/commandant/testing/resources.py Thanks, J. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp