[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: HEADS UP: cmdline test factory

From: Branko Cibej <brane_at_xbc.nu>
Date: Mon, 22 Jun 2009 12:25:45 +0200

Neels J Hofmeyr wrote:
> Branko Cibej wrote:
>> Good start. Now add some syntactic sugar so you can write the tests like
>> this:
>> [[[
>> @svntest.factory("lock a file using a comment with xml special chars")
>> def mine(sbox):
>> """
>> echo "This represents a binary file\\n" >> iota
>> svn ci
>> svn lock -m 'lock & load' iota
>> """
>> ]]]
> Heh, interesting idea.
> Just making sure: you're not proposing that this is the final test, but that
> this is parsed by factory to produce the actual test py, right?

Well of course :)


> But sure, if you want to take up a proper refactoring of the tests suite,
> I'd be most happy. We've got two types of tree structure, lots of little
> weird things happening under the hood there... I'm not too keen. ;)

Hah. I've refactored our test suite too often, I certainly don't want to
get bogged down in it all over again. :)

-- Brane

Received on 2009-06-22 12:26:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.