[TIP] Green and Red bars
markroddy at gmail.com
Thu Oct 21 10:39:04 PDT 2010
On Thu, Oct 21, 2010 at 1:25 PM, Olemis Lang <olemis at gmail.com> wrote:
> On Thu, Oct 21, 2010 at 12:20 PM, Mark Roddy <markroddy at gmail.com> wrote:
>> On Thu, Oct 21, 2010 at 11:11 AM, Olemis Lang <olemis at gmail.com> wrote:
>>> On Thu, Oct 21, 2010 at 10:03 AM, Michael Foord
>>> <fuzzyman at voidspace.org.uk> wrote:
>>>> On 21/10/2010 16:01, Olemis Lang wrote:
>>>>> Is it a good idea to add a similar Tkinter GUI runner in stdlib (even
>>>>> if it is outside unittest module , let's say e.g. in unittestgui
>>>>> module) ?
>>>> It could live in tools and I certainly wouldn't be opposed to it. It is
>>>> something I have considered, especially now that unittest does test
>>>> discovery, I just haven't had time to work on it.
>>> ok, good to know. I suppose we all (specially Natalia) have good
>>> reasons to look forward for this to happen.
>>> Blog ES: http://simelo-es.blogspot.com/
>>> Blog EN: http://simelo-en.blogspot.com/
>>> Featured article:
>>> testing-in-python mailing list
>>> testing-in-python at lists.idyll.org
>> Out of curiosity I pulled down the code from sourceforge, and the GUI
>> seems to work out of the box with unittest2 (after doing a search and
>> replace on the module import). At least it does for the tests across
>> my code base at work.
> Cool ! Good news for considering it as a starting point (I was hoping
> that unittest had not changed throughout all these years ...)
> But I suppose 'green and red bars' should still become 'green, yellow,
> orange, and red bars (add your own !!!)'
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
> Featured article:
And I agree with Michael on adding support for test discovery.
Requiring users to 'enter a name of a callable object which returns a
TestSuite' is a bit combersome.
More information about the testing-in-python