[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undefining an ERT test?
From: |
Douglas Lewan |
Subject: |
Undefining an ERT test? |
Date: |
Thu, 11 Jun 2020 17:52:31 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
For me one flaw of ERT is that it runs tests in alphabetical order, not
the order in which they were defined. I'd like to test initialization
before I test more interesting function, for example.
To get around this my tests tend to begin with a 3 digit number
(starting at 000), and I have code that will renumber them for me. (Test
000-... runs before test 001-..., before 002-..., etc.) Unfortunately,
ERT remembers the previous names (and the corresponding test) and when I
want to run test 012-..., for example, with (ert "012-") ERT might pick
up a "former" test with a matching name. This is not unsurmountable, but
it's distracting and occasionally confusing.
So, the question is: Is there something like (fmakunbound) for ERT?
--
,Doug
d.lewan2000@gmail.com
(908) 720 7908
If this is what winning looks like, I'd hate to see what losing is.
- Undefining an ERT test?,
Douglas Lewan <=
- Re: Undefining an ERT test?, Joost Kremers, 2020/06/11
- Re: Undefining an ERT test?, Douglas Lewan, 2020/06/11
- Re: Undefining an ERT test?, Joost Kremers, 2020/06/11
- Re: Undefining an ERT test?, Douglas Lewan, 2020/06/11
- Re: Undefining an ERT test?, Joost Kremers, 2020/06/11
- Re: Undefining an ERT test?, Douglas Lewan, 2020/06/12
- Re: Undefining an ERT test?, Joost Kremers, 2020/06/12
- Re: Undefining an ERT test?, Douglas Lewan, 2020/06/12