From Test::Simple to Test::Extreme - Basic Testing 10

Simple Tests from Scratch

  • Actually there's a little more

  • Tests are numbered

        1..6
        ok 1
        ok 2
        not ok 3
        ok 4
        not ok 5
        ok 6
    
  • From this output we can see that we planned to run six tests, that tests 1, 2, 4 and 6 passed, and that tests 3 and 5 failed.

 

YAPC::CA << Previous | Index | Next >>
Copyright © 2003 Michael Graham