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

Daniel de Oliveira Mantovani daniel.oliveira.mantovani at gmail.com
Sun Jan 11 17:33:17 PST 2009


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_)----------------
----------------------------------------
-------------- Pr?xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20090111/6dccafb6/attachment.html>


More information about the SaoPaulo-pm mailing list