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

Re: Proposal: Use decorators in test suite for XFail, Skip, etc

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 8 Feb 2011 01:01:36 +0200

Hyrum K Wright wrote on Mon, Feb 07, 2011 at 13:35:11 +0000:
> Just use them both. Order *shouldn't* matter. (I think.)

Pretty sure it *does* matter: e.g., when you combine XFail and Skip, one
of them causes the test to be run and one causes it not to be run ---
and we did have some instances of:

        # Triggers an OS bug to the point that a reboot is required to
        # make the system usable again.
        XFail(Skip(foo, is_windows), lambda: True),
Received on 2011-02-08 00:06:31 CET

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.