[Top][All Lists]

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

Re: so-long tests

From: Eli Zaretskii
Subject: Re: so-long tests
Date: Sat, 13 Jul 2019 11:19:34 +0300

> From: Phil Sainty <address@hidden>
> Date: Sat, 13 Jul 2019 20:08:35 +1200
> Cc: address@hidden
> > I think the tests for the new package should be moved to be under
> > test/lisp/, because we generally mirror under test/ the source tree
> > structure.
> I've done it this way based on the documentation in
> test/file-organization.org:
> > Tests should normally reside in a file with ~-tests.el~ added to the
> > base-name of the tested source file; hence ~ert.el~ is tested in
> > ~ert-tests.el~, and ~pcase.el~ is tested in ~pcase-tests.el~.  As an
> > exception, tests for a single feature may be placed into multiple
> > files of any name which are themselves placed in a directory named
> > after the feature with ~-tests~ appended, such as
> > ~/test/lisp/emacs-lisp/eieio-tests~
> Hence test/lisp/so-long-tests/*
> So I *think* that's correct as-is?

Why do we need the exception in this case?  Exceptions should be
reserved for exceptional cases.

reply via email to

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