On 6/09/2012 3:04am, Javier Guerra Giraldez wrote:
> On Wed, Sep 5, 2012 at 7:46 AM, jyria <
jyr...@gmail.com> wrote:
>> What is your experience? Is it worth it, and is it possible?
>>
>> I tried it and found it quite difficult to follow guideline of unit testing
>> -- testing a unit of code, a class for example. Maybe Im just ignorant, but
>> I didnt see, how can I create registration app only with unit tests. The
>> only way I could drive implementation with tests was using more like an
>> integration testing approach: calling requests with data and asserting that
>> new user was registered and that form was valid/invalid etc, but this goes
>> against TDD as I understand it. So should I not worry about pure "unit
>> testing" approach and use django client http request to validate
>> RegistrationForm. Or I should write unit tests for RegistrationForm class?
>
> TDD is not unit-testing