[Top][All Lists]

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

Re: so-long tests

From: Phil Sainty
Subject: Re: so-long tests
Date: Sat, 13 Jul 2019 20:08:35 +1200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

Hi Eli,

On 13/07/19 7:25 PM, Eli Zaretskii wrote:
> 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

> 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?

> Thanks for merging the branch.

You're welcome.


reply via email to

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