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

Re: Testing: Simulating multi-user interaction

From: Stephen Butler <sbutler_at_elego.de>
Date: Wed, 08 Apr 2009 12:40:47 +0200

Quoting Andy Levy <andy.levy_at_gmail.com>:

> On Wed, Apr 8, 2009 at 05:22, Phil Scrace <phil.scrace_at_red-gate.com> wrote:
>> Hi,
>>
>> I'm looking to participate in Subversion programme but have a
>> couple of questions first. The main issue is around simulating
>> multiple user interaction; Is there any way of doing this
>> automatically or does anyone have any ideas on how to achieve this?
>
> How do you mean? Does checking out 2 working copies and then using the
> --username Bob switch with svn on one and --username Sue on the other
> not simulate 2 users?
>
>> Are there any sample repositories that I can obtain for testing?
>
> It costs you nothing to create your own repositories.

Hi Phil,

It costs even less (time) to use the Subversion cmdline test framework
A single Python expression creates a generic test repo and checks out
a working copy for you. Other framework classes handle running svn
commands and comparing the results to your expectations.

See http://subversion.tigris.org/hacking.html#automated-tests for
more info.

If you write a test that reproduces a Subversion bug (a new one or an
existing bug report that has no test yet), by all means submit it to
the dev-list as a patch.

Steve

-- 
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
Received on 2009-04-08 12:42:05 CEST

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

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