emacs-devel
[Top][All Lists]
Advanced

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

Re: call for more ert tests


From: Noah Lavine
Subject: Re: call for more ert tests
Date: Tue, 25 Jun 2013 09:33:15 -0400

I'm afraid I probably won't have time to do this myself, but one idea I've heard is to use Emacs' interactivity to make testing easier.

For instance, you could code in a split-window view where one window has your code and another has test results that are constantly updated to match the code.

It would be even better if Emacs could figure out how to test on "representative" inputs itself, but I can't figure out how to do that. It seems like quite a hard problem in general, so it would probably on work in some cases.

Best,
Noah Lavine


On Mon, Jun 24, 2013 at 12:46 PM, Glenn Morris <address@hidden> wrote:
Eli Zaretskii wrote:

> IMO, unless we require every new feature to come with a test and a
> report that no regressions were found by running the existing tests,
> we will never get any better testability than what we have now.

I think that is a tough goal, and also somewhat pessimistic ("unless we
force everybody to be in complete compliance with X, we will never get
any more X"). Maybe we could try to move gradually in this direction
until it naturally becomes the accepted convention? But maybe you are
right and incremental improvement is impossible. I guess we will see...



reply via email to

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