zsh-workers
 help / color / mirror / code / Atom feed
From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: "Zsh hackers list" <zsh-workers@zsh.org>
Subject: Re: A suggestion RE Xfail tests
Date: Wed, 04 May 2022 02:52:01 +0000	[thread overview]
Message-ID: <6ae076b1-6f0d-40d8-b1f5-1470048f2332@www.fastmail.com> (raw)
In-Reply-To: <CAH+w=7YOn6fqxUVhCO_oi6pbCwr+o9t-90p_tzhSkCUvKdqggg@mail.gmail.com>

Bart Schaefer wrote on Wed, 04 May 2022 01:44 +00:00:
> It would be helpful if tests that are expected to fail could list both
> the expected "correct" result (that is, the result if the test were to
> succeed, which would cause the Xfail test to fail) and the expected
> "wrong" output ... so that if the way a test goes wrong changes, that
> too can be seen.
>

Fair request.

FWIW, I don't know of any other test harness that supports this.

> Yes, this can be done now by repeating the test twice, once as an
> xfail and once as a regular test but with the "broken" result ... but
> it might be easier to keep track of if it were all in one place.
>

How about if, for the time being, we use the "duplicate the test"
approach, with F: lines or comments as needed?  Once we have some
experience with that, we may have a better idea of what test harness
functionality to implement.

> (No action on this expected pre-5.9-release, just musing.)


      reply	other threads:[~2022-05-04  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04  1:44 Bart Schaefer
2022-05-04  2:52 ` Daniel Shahaf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ae076b1-6f0d-40d8-b1f5-1470048f2332@www.fastmail.com \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).