launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #02789
Re: Faster TDD cycle: persist test services between test runs
On Mon, Mar 01, 2010 at 09:46:03PM +0700, Stuart Bishop wrote:
> On Mon, Mar 1, 2010 at 7:59 PM, Bjorn Tillenius <bjorn@xxxxxxxxxxxxx> wrote:
> > If you're into TDD, you're probably a bit annoyed about Librarian and
> > Memcached taking quite a while to set up and tear down when running the
> > tests, right? Well, these are things that we usually don't change, so
> > there's not much point in keep starting and stopping them every time you
> > run a test.
>
> I understand the Librarian being slow, but the memcached layer should
> be taking very little time to startup or shut down. If it is, there
> might be a problem.
Could be. For me setting up MemcachedLayer is really quick, only 0.122
seconds, but tearing it down takes about 5 seconds.
--
Björn Tillenius | https://launchpad.net/~bjornt
References