bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66782: 29.1; ERT tests report test redefined depending on loading se


From: Mattias Engdegård
Subject: bug#66782: 29.1; ERT tests report test redefined depending on loading sequence
Date: Sun, 29 Oct 2023 13:09:11 +0100

28 okt. 2023 kl. 23.19 skrev Xiyue Deng <manphiz@gmail.com>:

> To clarify one of my
> original proposals: if it makes no sense for a `ert-deftest' to depend
> on other `ert-deftest', I would say there is no reason for such a
> dependency, and people should move reusable components to a helper
> module instead.

There is no reason for one `ert-deftest` to make use of another, but was that 
the case here? I interpreted it as a test suite that spread its `ert-deftest` 
definitions over multiple .el files which isn't necessarily a bad way of 
organising them.

As said before, there is little sense in including the same individual tests 
from multiple 'root' .el files since that would run them more than once.

Perhaps that is what you meant? If so, please forgive me for the pedantry.






reply via email to

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