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

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

[debbugs-tracker] bug#28209: closed (Add tests for Edebug)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28209: closed (Add tests for Edebug)
Date: Thu, 21 Sep 2017 20:50:02 +0000

Your message dated Thu, 21 Sep 2017 13:49:13 -0700
with message-id <address@hidden>
and subject line Re: bug#28209: Add tests for Edebug
has caused the debbugs.gnu.org bug report #28209,
regarding Add tests for Edebug
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28209
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Add tests for Edebug Date: Wed, 23 Aug 2017 09:39:23 -0700
Hello,

Edebug didn't have any tests, so I wrote some. The tests focus on
Edebug's user interface for stepping through code and using breakpoints.
Parts of Edebug that these tests don't cover are the evaluation list
buffer, code coverage, and macro specifications.

The first of the two attached patches extends ert-with-message-capture
to catch the output of prin1, princ and print when it is destined for
the echo area. Edebug uses prin1 and princ to show the results of
evaluating expressions. I don't know why it uses them instead of
message, and if there isn't a good reason for it, then modifying Edebug
to use message instead of extending ert-with-message-capture is another
option. If someone with a better understanding than mine of the
difference between princ and message would like to take a look at it,
the relevant code is in edebug-eval-expression and at the end of
edebug-eval-defun.

Attachment: 0001-Catch-more-messages-in-ert-with-message-capture.patch
Description: Text document

Attachment: 0002-Add-tests-for-Edebug.patch
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#28209: Add tests for Edebug Date: Thu, 21 Sep 2017 13:49:13 -0700 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)
Pushed to emacs-26.


--- End Message ---

reply via email to

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