[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call for more ert tests
From: |
Sebastian Wiesner |
Subject: |
Re: call for more ert tests |
Date: |
Mon, 24 Jun 2013 20:33:41 +0200 |
2013/6/24 Eli Zaretskii <address@hidden>:
>> From: Glenn Morris <address@hidden>
>> Date: Mon, 24 Jun 2013 13:31:50 -0400
>>
>> One thing that could help reduce this is more unit tests.
>> If you haven't used it, ERT makes it pretty easy to write tests.
>> Of course, many aspects of Emacs's behaviour are not easy to test (GUI
>> stuff, etc.), but many are. See test/automated/ for examples. [2]
>>
>> For example, package.el seems like something that should have a test
>> suite.
>>
>> So if you fix a bug, please consider adding a unit test to make sure it
>> does not come back. Or if you rewrite a lisp package, consider adding
>> tests at the same time to check that obvious functionality still works.
>>
>> I know writing tests is maybe not as interesting as writing shiny new
>> features, but I think it will save work in the long run.
>
> IMO, unless we require every new feature to come with a test and a
> report that no regressions were found by running the existing tests,
> we will never get any better testability than what we have now.
Then this is probably a good policy, isn't it?
- call for more ert tests, Glenn Morris, 2013/06/24
- Re: call for more ert tests, Eli Zaretskii, 2013/06/24
- Re: call for more ert tests, Lennart Borgman, 2013/06/24
- Re: call for more ert tests,
Sebastian Wiesner <=
- Re: call for more ert tests, Eli Zaretskii, 2013/06/24
- Re: call for more ert tests, Sebastian Wiesner, 2013/06/24
- Re: call for more ert tests, Eli Zaretskii, 2013/06/24
- Re: call for more ert tests, Lennart Borgman, 2013/06/24
- Re: call for more ert tests, Óscar Fuentes, 2013/06/24
- Re: call for more ert tests, John Wiegley, 2013/06/24
- Re: call for more ert tests, Leo Liu, 2013/06/24
- Re: call for more ert tests, John Wiegley, 2013/06/24
- Re: call for more ert tests, Stefan Monnier, 2013/06/24
- Re: call for more ert tests, Stephen J. Turnbull, 2013/06/24