[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51941: Detect duplication of ERT tests
From: |
Philipp Stephani |
Subject: |
bug#51941: Detect duplication of ERT tests |
Date: |
Thu, 18 Nov 2021 18:53:10 +0100 |
Am Do., 18. Nov. 2021 um 18:45 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> By the way, this reminds me of a different error I often make in ert
> files -- I type "defun" instead of "ert-deftest". Would it be
> productive to check whether a -tests.el file contains a defun that's
> never called? In which case it's probably supposed to be en
> ert-deftest.
>
> But perhaps it's such a marginal problem that it's not worth checking
> for.
This also happens to me rather frequently, so I'd welcome such an
addition. The byte compiler can already generate call graphs (see
byte-compile-generate-call-tree), so maybe that functionality could be
reused.
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/18
- bug#51941: Detect duplication of ERT tests,
Philipp Stephani <=
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Glenn Morris, 2021/11/18
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/19
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/19
- bug#51941: Detect duplication of ERT tests, Lars Ingebrigtsen, 2021/11/20
- bug#51941: Detect duplication of ERT tests, Mattias Engdegård, 2021/11/20
bug#51941: Detect duplication of ERT tests, Ihor Radchenko, 2021/11/24