bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47320: Improve failure reporting in test/lisp/electrict-tests.el


From: Michael Albinus
Subject: bug#47320: Improve failure reporting in test/lisp/electrict-tests.el
Date: Tue, 23 Mar 2021 09:53:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Mackenzie <acm@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]