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

Re: query on writing test scripts

From: <kfogel_at_collab.net>
Date: 2005-02-16 18:59:06 CET

Madan U Sreenivasan <madan@collab.net> writes:
> Hi,
> If I need to write a test script that verifies that a particular
> 'svn co' command does not crash, should I
>
> - check for the output of the command
> - the status of the tree after the command
> - the contents of the file checked out
>
> could someone tell me what the common practise is.... I feel that
> verifying the contents of the file would effectively do the two above.

I'd just verify the contents, yeah. Make sure the 'co' had exactly
the effect you expected it to have -- that means it must have
succeeded.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 16 19:14:55 2005

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.