[Product-Developers] Re: Where does it hurt?
Daniel Nouri
daniel.nouri at gmail.com
Mon May 19 07:32:51 UTC 2008
David Glick writes:
>>> Writing Tests
>>> There is lots of documentation, but writing tests still don't feel
>>> approachable. I know this is bad, but when I need to get code out
>>> the door, I skip the testing step. Maybe I need more practice,
>>> maybe test creation needs to be easier, don't know.
>>
>> Remind me never to use your code. ;-)
>>
>> What's wrong with the updated
>> http://plone.org/documentation/tutorial/testing
>> and the associated example.tests package that Philipp and I
>> developed for the previous Plone Conference?
>
> (snip)
>>
>>
>>>
>>> I think this will settle down with better documentation around the
>>> paster way of doing product development, I now use paster/ZopeSkel
>>> for skin development.
>>
>> I use ZopeSkel to start Archetypes product with the 'archetype'
>> template. If you don't use ArchGenXML, it's a good place to start.
>
> I wonder if these two items are related. Learning to write effective
> tests (e.g. the subjective question of what tests are important to
> make, as opposed to the technical question of how to set up test
> infrastructure) can be quite a challenge if you haven't done it
> before. I think Martin's right, there are good example tests (not
> But as I recall, the archetype' template sets up infrastructure for
> doctests but not unit tests,
That's supposed to make things simpler: one way to do things.
> and it doesn't include any actual test cases or a pointer to where to
> learn how to write them. Perhaps we could add this.
+1
--
Daniel Nouri
http://danielnouri.org
More information about the Product-Developers
mailing list