Prev Code Coverage - Tales From the Trenches Next

Writing new or improved tests

        # Program to calculate the answer
        my $answer = 56;
        if (normal_course_of_events)
        {
            $answer = 42;
        }
        print "The answer is $answer\n";


Slide 69 YAPC::Europe::2003 Copyright © 2003 Paul Johnson