emacs-devel
[Top][All Lists]
Advanced

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

Re: Tests and linting not coupled to one file


From: Lars Ingebrigtsen
Subject: Re: Tests and linting not coupled to one file
Date: Fri, 25 Sep 2020 15:46:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefankangas@gmail.com> writes:

> I have been thinking about what to with this kinds of expensive
> tests/linting.  It is of course good that we now run the above
> automatically, since it will help us catch bugs.  But it isn't very
> clean conceptually to add such a test to "custom-tests.el", since it
> operates on the entire code base instead of just one file/component.

Yes, that's true.

> One idea I've had is to create a new directory "test/misc" or something
> to keep such tests in.  We could arrange for them to be run with
> "check-expensive" and continue using ert to get standardized reporting,
> etc.
>
> The custom tests are good candidates here, but there are others.

I think that makes sense, but I wonder whether there's much to be gained
by doing that.  If somebody is looking for "what's that test that checks
all the defcustom declaration", would they look in lisp/custom-tests.el
or misc/defcustom-tests.el?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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