GNU bug report logs - #47320
Improve failure reporting in test/lisp/electrict-tests.el

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Mon, 22 Mar 2021 14:25:02 UTC

Severity: minor

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 47320 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 47320 <at> debbugs.gnu.org,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#47320: Improve failure reporting in
 test/lisp/electrict-tests.el
Date: Tue, 23 Mar 2021 09:53:04 +0100
Alan Mackenzie <acm <at> muc.de> writes:

> Hello, Emacs.

Hi Alan,

> My proposal is that on a test failure, this generated doc-string should
> be output along with the other failure stuff.  It doesn't actually add
> all that much bulk to the .log file.
>
> Here is patch which does this.  If there are no objections, I will
> commit it in a day or two.

There is the explainer functionality in ert, see

(info "(ert)Defining Explanation Functions")

I recommend to use it, for better readability of the test code. Examples
are in our test files.

Best regards, Michael.




This bug report was last modified 4 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.