[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call for more ert tests
From: |
Stephen J. Turnbull |
Subject: |
Re: call for more ert tests |
Date: |
Wed, 26 Jun 2013 14:12:27 +0900 |
Lars Magne Ingebrigtsen writes:
> If I decide that shr should render <li> differently than I
> originally thought it should, I'm very happy that I don't have a
> slew of unit tests for the HTML rendering. Because then I'm done
> after changing the <li> rendering, and I don't have to touch up
> however many ert tests that this affects.
This is a terrible example, of course, because modern specs for HTML
emphasize that rendering isn't defined by the HTML spec. Pixel-
perfect rendering isn't an invariant if you're only interested in
ensuring that the semantic content is conveyed, and so shouldn't be
tested. OTOH, I think it's quite reasonable to ask that in
"reasonably wide" windows, text not be rendered outside of the window
boundaries, and I would be happy to have a test for that. YMMV.
> None of us have unlimited time to spend on this stuff, and what
> doesn't help us doesn't help us, no matter what the current
> orthodoxies surrounding testing says.
Ah, "orthodoxy". The current orthodoxies (or some of them, anyway)
are reasonable disciplines for novice developers. It's unfortunate
that many teachers engrave them in stone, but that's not what Eli is
suggesting.
- Re: call for more ert tests, (continued)
- Re: call for more ert tests, Lars Magne Ingebrigtsen, 2013/06/25
- Re: call for more ert tests, Juanma Barranquero, 2013/06/25
- 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 <=
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