[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] run_tests.py subprocess mode and Build Page extensions



hi,

For tags Nicholas had the idea of (ab)using doc strings... eg.

def test_bla(self):
    """ Are bla and blah really the same thing, only different?
         tags:bla,blah,samesame
    """

Tags could be at the module, class, and method level.  At each level
overriding the other.  So a method would inherit the module level
tags, then the class level tags might override them, and the method
level tags would override them.

The use for module/class level ones would be to mark a whole set of
tests with a set of tags.  ie, tags:speedtest being applied to a whole
class full of tests.

This will probably evolve as we use them... we might find the use of
clearing all the inherited tags, or something like that.

Decorators for tags are -1 because we want to support a python with no
decorator support at some point in the near future(tinypy).  Using doc
strings instead of function attributes below the function body would
read better.


cu,




On Tue, Jul 8, 2008 at 12:30 PM, Nicholas Dudfield <ndudfield@xxxxxxxxx> wrote:
> Win98 uses command.com as the shell rather than cmd.exe, so possibly the
> return codes would be different?
>
> René Dudfield wrote:
>>
>> On Tue, Jul 8, 2008 at 11:51 AM, Nicholas Dudfield <ndudfield@xxxxxxxxx>
>> wrote:
>>
>>>
>>> Lenard,
>>>
>>> Weird, XP?  Vista?   I'm on XP SP3
>>>
>>
>> win98 I believe
>>
>>
>
>