[SP-pm] WWW::Mechanize, erro no teste: t/live/computers4sure.t

Otávio Fernandes otaviof at gmail.com
Mon Jan 12 04:43:58 PST 2009


2009/1/12 Daniel de Oliveira Mantovani <daniel.oliveira.mantovani em gmail.com>:
> Eu arrumei o computers4sure.t.
>
> http://pastebin.com/f75c554d1
>
> Vou mandar um e-mail para o mantedor do pacote, agora mesmo!
>
> []s
>
> 2009/1/11 Solli Honorio <shonorio em gmail.com>
>>
>> Daniel, vou perguntar isto logo antes que algum ogro de plantão o faça...
>> Qual a tua dúvida ? Se é que você tem algum ?
>>
>> Agora se você encontrou um problema no teste e quer ajudar a comunidade,
>> pode corrigir o teste e enviar o patch para o programador/mantenedor do
>> módulo.
>>
>> Obrigado,
>>
>> Solli M. Honório
>>
>> 2009/1/11 Daniel de Oliveira Mantovani
>> <daniel.oliveira.mantovani em gmail.com>
>>>
>>> Olá monges!
>>>
>>> O Mechanize, está com problema no teste "t/live/computers4sure.t".
>>> O erro fala por si próprio:
>>>
>>> t/live/computers4sure....NOK
>>> 5/9
>>> #   Failed test 'Should have lots of product links'
>>> #   at t/live/computers4sure.t line 24.
>>> #     '0'
>>> #         >
>>> #     '10'
>>> t/live/computers4sure....NOK
>>> 6/9
>>> #   Failed test 'The object isa WWW::Mechanize::Link'
>>> #   at t/live/computers4sure.t line 27.
>>> #     The object isn't defined
>>> Can't call method "url" on an undefined value at t/live/computers4sure.t
>>> line 28.
>>> # Looks like you planned 9 tests but only ran 6.
>>> # Looks like you failed 2 tests of 6 run.
>>> # Looks like your test died just after 6.
>>>
>>> t/live/computers4sure....dubious
>>>     Test returned status 255 (wstat 65280, 0xff00)
>>> DIED. FAILED tests 5-9
>>>     Failed 5/9 tests, 44.44% okay
>>>
>>> Eu estudei o teste que está com problema, e talvez seja porque o site de
>>> teste (http://www.computers4sure.com/)  mudou o código fonte:
>>>
>>>
>>> Podem ver, vocês mesmos:
>>> http://pastebin.com/f7c1177ab
>>>
>>> --
>>> http://mantovanihouse.blogspot.com/
>>>
>>> -------(\_------------_/)-----------
>>> -------)--(----------)--(-----------
>>> ------(----(---------)----)----------
>>> -------)----(-------)----(-----------
>>> -------(----(-------)----)-----------
>>> --------\_-(\\.---.//)-_/------------
>>> ----------\)' -8--8- '(/--------------
>>> -----------/------------\---------------
>>> ----------(--)--------(--)--------------
>>> ------------(_c__c_)----------------
>>> ----------------------------------------
>>>
>>> _______________________________________________
>>> SaoPaulo-pm mailing list
>>> SaoPaulo-pm em pm.org
>>> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>>
>>
>>
>> --
>> "o animal satisfeito dorme". - Guimarães Rosa
>>
>> _______________________________________________
>> SaoPaulo-pm mailing list
>> SaoPaulo-pm em pm.org
>> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>
>
>
> --
> http://mantovanihouse.blogspot.com/
>
> -------(\_------------_/)-----------
> -------)--(----------)--(-----------
> ------(----(---------)----)----------
> -------)----(-------)----(-----------
> -------(----(-------)----)-----------
> --------\_-(\\.---.//)-_/------------
> ----------\)' -8--8- '(/--------------
> -----------/------------\---------------
> ----------(--)--------(--)--------------
> ------------(_c__c_)----------------
> ----------------------------------------
>
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm em pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>

É isso ai cara. Manda um diff para nós vermos.

um abraço,

-- 
Otávio Fernandes <otaviof at gmail.com>
http://otaviof.blogspot.com/


More information about the SaoPaulo-pm mailing list