Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Time elapsed with Selenium Test

by Chaoui05 (Scribe)
on May 18, 2016 at 08:03 UTC ( [id://1163303]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Time elapsed with Selenium Test
in thread Time elapsed with Selenium Test

Thanks ! But i don't understand which ouput "ruins" my "TAP" ? I used Test::More

Replies are listed 'Best First'.
Re^5: Time elapsed with Selenium Test
by Corion (Patriarch) on May 18, 2016 at 08:05 UTC

    Your print statements make the output of your tests non-conformant.

    This is not a problem if you are only ever looking at your tests yourself. But if you want to use other programs, like prove or some CI frameworks, they care about well-formed TAP

      Oh Thanks ! I understand . But i use cprintf ( exactly) because i would like to add some color to differentiate my browsers . How can i do also ? To stay compatible with "TAP" ? I used before "diag" but for this reason i had to change.
        Corion already suggested to prefix your Output with "#". That should be put in front of the coloring so that the test harness recognizes it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1163303]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-26 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found