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

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

bug#51941: Detect duplication of ERT tests


From: Mattias Engdegård
Subject: bug#51941: Detect duplication of ERT tests
Date: Thu, 18 Nov 2021 20:43:22 +0100

18 nov. 2021 kl. 20.34 skrev Lars Ingebrigtsen <larsi@gnus.org>:

> I usually eval the `should' statements by hand in the running Emacs when
> developing stuff, so I frequently don't notice that they don't actually
> run when saying "make check".

Yes, that's a little dangerous because there are so many things that can go 
wrong. On the other hand, I often just run the added or changed test 
interactively with `ert` instead of the whole file in batch mode. (And I have 
many times fallen into the .elc vs .el trap of TEST_LOAD_EL!)

We should have a modern test runner in Emacs that runs tests in batch mode but 
displays the results interactively, points out exact failure points etc.






reply via email to

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