[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.
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, (continued)
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Eli Zaretskii, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Przemysław Wojnowski, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Eli Zaretskii, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, John Wiegley, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Eli Zaretskii, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Przemysław Wojnowski, 2015/11/11
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Andreas Röhler, 2015/11/12
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Eli Zaretskii, 2015/11/12
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Stephen Leake, 2015/11/12
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Andreas Röhler, 2015/11/12
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals,
Eli Zaretskii <=
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Przemysław Wojnowski, 2015/11/12
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Eli Zaretskii, 2015/11/13
- Re: [PATCH] CONTRIBUTE - writing tests for understanding internals, Andreas Röhler, 2015/11/13