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 18:15:11 +0200

> Date: Thu, 12 Nov 2015 08:16:47 +0100
> From: Andreas Röhler <address@hidden>
> CC: Eli Zaretskii <address@hidden>
> 
>   On 11.11.2015 16:40, Eli Zaretskii wrote:
> > [ ... ]
> > written by someone who is not the implementor.  I'm sure you are
> > familiar with the TDD methodology, whose strong point is precisely
> > that you write tests before implementing anything.
> 
> Hmm, looks for me like TDD established a kind of religion too.
> How to write tests without knowing the types?

The API should be defined when you write the tests, but the
implementation doesn't yet exist.




reply via email to

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