[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERT indentation testing
From: |
Ted Zlatanov |
Subject: |
Re: ERT indentation testing |
Date: |
Fri, 03 Jun 2011 06:48:49 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Thu, 02 Jun 2011 09:23:41 -0500 Ted Zlatanov <address@hidden> wrote:
TZ> On Thu, 2 Jun 2011 12:37:33 +0000 Alan Mackenzie <address@hidden> wrote:
AM> You are aware that there's an extensive test suite for CC Mode's
AM> indentation (and font locking). It's in the tests directory of CC Mode's
AM> CVS repository, which can be downloaded from
AM> http://cc-mode.sourceforge.net/. Look for the file 000tests.el.
TZ> I didn't know that these tests existed. Why not simply integrate them
TZ> in the Emacs tests? Are they too specific?
TZ> A general indentation and font-locking tester is very useful, so if we
TZ> can generalize this code, it would be wonderful.
I looked at the code and it could be useful. But it has no notion of
ERT testing and consists of very specific code to force and test
font-lock and indentation. So it would be a lot of work to generalize
it (or parts of it) and integrate it with the GNU Emacs indentation
tests. It may be worthwhile nevertheless.
Ted
- Re: extra-interactive functions, (continued)
Re: ERT indentation testing, Ted Zlatanov, 2011/06/08
Re: ERT indentation testing, Alan Mackenzie, 2011/06/02