[TIP] cleanUp for unittest
olemis at gmail.com
Fri Apr 3 13:19:39 PDT 2009
On Fri, Apr 3, 2009 at 3:16 PM, Olemis Lang <olemis at gmail.com> wrote:
> On Fri, Apr 3, 2009 at 3:07 PM, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
>> holger krekel wrote:
>>> Hi Michael,
>>> On Fri, Apr 03, 2009 at 19:58 +0100, Michael Foord wrote:
>>>> I have no idea whether this particular feature is in other xUnit inspired
>>>> frameworks. Irregardless, unittest is a Python testing framework and
>>>> development should be driven by patterns useful to testing Python - and
>>>> whether or not similar patterns are used elsewhere is more-or-less
>>>> irrelevant. For example, you would never implement this feature in this way
>>>> in Junit because Java has no first class functions.
>>> When targetting "testing" in general i'd rather not aim too much for
>>> changing unittest.py.
>> Sure, you don't use it. :-)
> Me either ... I love unittest ... I run my tests using unittest ...
> but I write'em using doctests ... that's what dutest is all about ...
> me trying to be myself while writing tests ... ;o)
Sorry ... I had not finished yet ... I apologize ...
... and even if I had not known doctest ... I still think that
unittest does not need to be changed for this specific reason ...
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Comandos : Pipe Viewer ... ¿Qué está pasando por esta tubería?
More information about the testing-in-python