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

Re: [PATCH] regression test for issue #876

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-10 12:11:24 CEST

vivek@collab.net wrote:

> Add a regression test for issue #876
>* subversion/tests/clients/cmdline/revert_tests.py
> (move_revert): A new function to test a moved and
> then reverted file.

>+ #after resolving this issue just comment out
>+ #the above two lines,and the test would work fine.

>+ move_revert,
This is /not/ the way to write a test that tickles a known bug. The
thing to do is to write the test so that it expects things to work
correctly, then to mark it as XFAIL. Once the bug is fixed, the test
will pass with an XPASS status, which is intended to alert whoever fixed
the bug that they have to update the test's status, too.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 10 12:13:03 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.