Re: TAP Directives for XPASS and XFAIL tests with lib/tap-driver.sh

Soham <[email protected]> Wed, 2 Jul 2025 13:05:24 -0500
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
On 7/1/25 15:37, Andrew W. Nosenko wrote:
> Autoconf’s Autotest has notion of expected-to-fail (aka XFAIL) tests and it
> served my needs very well about past 18-20 years.
> 
> Sent from mobile
> 

Yes, that is a similar feature. As I just wrote to Bob, it doesn't 
really work
for "unit tests" for functions or classes in code, where one would want 
to write
multiple tests in a single test binary. Encoding the information in the 
TAP message
itself allows for this, and centralizes the expectation in the testing 
code itself
rather than in the surrounding runner or harness.