emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] CONTRIBUTE - writing tests for understanding internals


From: Eli Zaretskii
Subject: Re: [PATCH] CONTRIBUTE - writing tests for understanding internals
Date: Thu, 12 Nov 2015 22:55:24 +0200

> Date: Thu, 12 Nov 2015 21:40:49 +0100
> From: Andreas Röhler <address@hidden>
> CC: Eli Zaretskii <address@hidden>, address@hidden
> 
> Well, there is still another thing with TDD: it's irrational by its 
> definition. Tests drive nothing

In TDD, they teach you to write a test for a spec that isn't
implemented yet.  The test fails, of course (which is a Good Thing:
now you know that your test indeed will catch a non-compliant
implementation), and then you implement the spec to see that it now
succeeds.  If you work that way, tests _do_ drive the development.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]