[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call for more ert tests
From: |
Eli Zaretskii |
Subject: |
Re: call for more ert tests |
Date: |
Tue, 25 Jun 2013 21:53:01 +0300 |
> From: RĂ¼diger Sonderfeld <address@hidden>
> Cc: Glenn Morris <address@hidden>
> Date: Tue, 25 Jun 2013 19:18:25 +0200
>
> But a real test coverage would require tests for the rendered
> layout. Which would be hard to write and even worse probably breaking all
> the
> time when rendering is improved and thus the output changes.
The fact that the "correct" results change with development is a fact
of life in every project, not just in Emacs. It is detected very
simply, when the test fails. Then you analyze the failure, understand
that the expected results are wrong, and modify them to follow suit.
Case closed.
> Therefore having a policy to demand tests for new features might be counter
> productive. On the other hand maintainers should at least ask for test cases
> when they think a new feature could benefit from tests. Which in my
> experience, as somebody who is relatively new to contributing to Emacs, does
> not seem to happen at all.
If you don't have good test coverage, you cannot regress-test, so you
can never be sure that a change you just made doesn't break something.
It's as simple as that, and I'm sure you know it.
- Re: call for more ert tests, (continued)
- Re: call for more ert tests, Eli Zaretskii, 2013/06/25
- Re: call for more ert tests, Lars Magne Ingebrigtsen, 2013/06/25
- Re: call for more ert tests, Eli Zaretskii, 2013/06/25
- Re: call for more ert tests, Sebastian Wiesner, 2013/06/25
- Re: call for more ert tests, Lars Magne Ingebrigtsen, 2013/06/25
- Re: call for more ert tests, Julien Danjou, 2013/06/26
- Re: call for more ert tests, Stephen J. Turnbull, 2013/06/26
Re: call for more ert tests, Glenn Morris, 2013/06/24
Re: call for more ert tests, RĂ¼diger Sonderfeld, 2013/06/25
Re: call for more ert tests, David Engster, 2013/06/24
Re: call for more ert tests, Daniel Hackney, 2013/06/25
Re: call for more ert tests, Stefan Merten, 2013/06/26