* Test cases and Emacs bugs
@ 2008-08-08 1:22 Lennart Borgman (gmail)
0 siblings, 0 replies; only message in thread
From: Lennart Borgman (gmail) @ 2008-08-08 1:22 UTC (permalink / raw)
To: Emacs Devel, Christian Ohler, Phil Hagelberg
With some help of Christian I have been writing some test cases using
ert.el. I have found ert.el easy to use.
I know that Christian and Phil wants to improve it more. (And I have
some suggestions based on the few tests I have written so far.) I think
that here is a good chance to get a unit test framework into Emacs.
Most of the few tests so far are for nXhtml, but I just wrote a test for
how scrolling is done when `scroll-conservatively' is 1. I wondered if
it was possible to test this. It seems so.
(The result of this test actually shows that Emacs sometimes scrolls
more than 1 line when calling next-line repeatedly. Is this expected or
is it a bug?)
If someone is interested in looking at this it is currently all in
nXhtml package (otherwise I would not have time to test). The test above
is in the latest beta which is here:
http://ourcomments.org/Emacs/DL/elisp/nxhtml/beta/
Maybe this can be used when reporting bugs? Either the reporter or
someone who tries to fix it could write a test for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-08 1:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 1:22 Test cases and Emacs bugs Lennart Borgman (gmail)
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).