unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Tests and linting not coupled to one file
Date: Fri, 25 Sep 2020 15:46:16 +0200	[thread overview]
Message-ID: <87y2kynf4n.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkm=qHi-9=O6YtCEZUqG3o3NSZuoGd49o1c_RPfXSW9V5HQ@mail.gmail.com> (Stefan Kangas's message of "Fri, 25 Sep 2020 06:11:32 -0700")

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	other threads:[~2020-09-25 13:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200925124646.29315.84502@vcs0.savannah.gnu.org>
     [not found] ` <20200925124647.83150209D4@vcs0.savannah.gnu.org>
2020-09-25 13:11   ` Tests and linting not coupled to one file (was: Re: master 664927b: Add an expensive test for defcustom types) Stefan Kangas
2020-09-25 13:46     ` Lars Ingebrigtsen [this message]
2020-09-25 15:36       ` Tests and linting not coupled to one file Stefan Kangas
2020-09-26 13:38         ` Lars Ingebrigtsen
2021-02-21 10:37           ` Stefan Kangas
2021-02-21 13:18             ` Lars Ingebrigtsen
2021-02-21 19:34               ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2kynf4n.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).