:(

I find unittest not really more informative then a pointer on which line
test failed... In py.test you have an few lines of the scope (let say the
function call) that failed... That why I ask the question... If this is not
possible for now, too bad.

Richard

On Mon, May 4, 2015 at 3:20 PM, Niphlod <[email protected]> wrote:

> ok, rephrasing: *in order to gain any advantage in using py.test over
> unittests* you'd need to rewrite the entire test-suite.
>
> if you don't rewrite them, nothing of py.test fancy features can be used.
>
>
>
> On Monday, May 4, 2015 at 6:16:56 AM UTC+2, Vinicius Assef wrote:
>>
>> As far as the py.test docs says, you shouldn’t need to rewrite them.
>>
>> py.test understands unittest tests.
>>
>>
>> On 3 May 2015, at 09:17, Niphlod <[email protected]> wrote:
>>
>> you need to rewrite the entire test-suite.
>>
>> On Thursday, April 30, 2015 at 8:46:38 PM UTC+2, Richard wrote:
>>>
>>> Simone,
>>>
>>> How can I run unittest with py.test?
>>>
>>> Richard
>>>
>>> On Wed, Apr 29, 2015 at 4:38 PM, Richard Vézina <[email protected]>
>>> wrote:
>>>
>>>> my bad from not form...
>>>>
>>>> :(
>>>>
>>>> Richard
>>>>
>>>> On Wed, Apr 29, 2015 at 4:34 PM, Richard Vézina <[email protected]>
>>>> wrote:
>>>>
>>>>> that's how validators.py is added!!
>>>>>
>>>>> I don't find how to import smart_query
>>>>>
>>>>> from pydal.helpers.methods import smart_query
>>>>>
>>>>> the above returns "invalid syntax"
>>>>>
>>>>> Richard
>>>>>
>>>>> On Wed, Apr 29, 2015 at 4:28 PM, Niphlod <[email protected]> wrote:
>>>>>
>>>>>> oh my. Add to __init__ ^_^'
>>>>>>
>>>>>> On Wednesday, April 29, 2015 at 10:18:51 PM UTC+2, Richard wrote:
>>>>>>>
>>>>>>> One more I don't see my news tests executing...
>>>>>>>
>>>>>>> Is there anything else to do then add an new file of unitttest into
>>>>>>> pydal/tests
>>>>>>>
>>>>>>> To add news cases?
>>>>>>>
>>>>>>> Richard
>>>>>>>
>>>>>>> On Wed, Apr 29, 2015 at 4:13 PM, Richard Vézina <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> :)
>>>>>>>>
>>>>>>>> I don't test enough!!
>>>>>>>>
>>>>>>>> Richard
>>>>>>>>
>>>>>>>> On Wed, Apr 29, 2015 at 4:08 PM, Niphlod <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> some time I just don't know what's going on with my writing. Am I
>>>>>>>>> really that obscure ?
>>>>>>>>>
>>>>>>>>> can you spot the difference from mine
>>>>>>>>>
>>>>>>>>> *python -m unittest -v tests*
>>>>>>>>>
>>>>>>>>> and yours
>>>>>>>>>
>>>>>>>>> *python -m unittest -v validation.py*
>>>>>>>>>
>>>>>>>>> ?
>>>>>>>>>
>>>>>>>>> To be more precise (and abnoxious, maybe). Place yourself in the
>>>>>>>>> root dir of pydal. then copy
>>>>>>>>>
>>>>>>>>> *python -m unittest -v tests*
>>>>>>>>>
>>>>>>>>> and paste to your commandline. Then press enter.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Resources:
>>>>>>>>> - http://web2py.com
>>>>>>>>> - http://web2py.com/book (Documentation)
>>>>>>>>> - http://github.com/web2py/web2py (Source code)
>>>>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>>>>>> ---
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "web2py-users" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Resources:
>>>>>> - http://web2py.com
>>>>>> - http://web2py.com/book (Documentation)
>>>>>> - http://github.com/web2py/web2py (Source code)
>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "web2py-users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to