* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.