
There's more than one way to do things

Re: What is the largest number of tests you have created for a single project you have worked on?

by Tux (Monsignor)
on Jun 01, 2010 at 10:59 UTC ( #842580=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use Test::More;
    is (1, 1, "test 1");
    is (2, 2, "test 2");
    is (3, 3, "test 3");
    done_testing ();
  2. or download this
    use Test::More;
    is ($_, $_, "test $_") for 1 .. 3;
    done_testing ();
  3. or download this
    foreach my $nl ("", "\n", "\r", "\r\n") {
        ok ($object->send ($text.$nl), "send");
        is ($object->receive (), $text, "receive text without line ending"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2014-03-16 10:29 GMT
Find Nodes?
    Voting Booth?

    Have you used a cryptocurrency?

    Results (326 votes), past polls