testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00691
Re: [Merge] lp:~kampka/testtools/test-to-fixture into lp:testtools
I've put together an imaginary example of how I usually interface a fixture with a test, very much simplified of course, but it should show you the general idea. This could probably be done using the current API as well, but I think this is the cleanest way to do it.
http://pastebin.ubuntu.com/629806/
If you or Rob are planing something official on shared fixtures, I'd be happy to contribute my 2 cents of ideas and of course some code if I can :)
My current solution is very much not usable by anyone else but due to an inflexible API that's tailored to my needs, so I'd love to see something more usable.
--
https://code.launchpad.net/~kampka/testtools/test-to-fixture/+merge/65034
Your team testtools developers is requested to review the proposed merge of lp:~kampka/testtools/test-to-fixture into lp:testtools.
References