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: Sat, 26 Sep 2020 15:38:17 +0200	[thread overview]
Message-ID: <87sgb4lkty.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkmnp+Uo4b8RwDg3VcwHnyLCSoz008hgRWCPwRtZT1FDjSw@mail.gmail.com> (Stefan Kangas's message of "Fri, 25 Sep 2020 15:36:31 +0000")

Stefan Kangas <stefankangas@gmail.com> writes:

> That's a fair point.  Likely they would not be aware of "test/misc" at
> first.  OTOH we could document it in "test/file-organization.org".
>
> Here's three scenarios where adding a test to the existing files might
> not make sense:

[...]

> That said, if we can find a way to shoe-horn the stuff we need into the
> existing test suite without it being overly ugly, it's perfectly fine by
> me.  Perhaps that would be less ugly than adding a new "test/misc"
> directory.

There's certainly something to be said for consistency here: If we're
looking for a test of something in foo.el, we look in
lisp/foo-tests.el.  And as you point out, cross-cutting linter stuff
doesn't really fit into that scheme at all.

So upon further consideration, I agree with you that adding a test/misc
directory would be better in the long term.

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



  reply	other threads:[~2020-09-26 13:38 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     ` Tests and linting not coupled to one file Lars Ingebrigtsen
2020-09-25 15:36       ` Stefan Kangas
2020-09-26 13:38         ` Lars Ingebrigtsen [this message]
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=87sgb4lkty.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).