Help for this page

Select Code to Download


  1. or download this
    use Test::More;
    
    ...
      "FAILING"  => 2;
    
    done_testing;
    
  2. or download this
    # Subtest: PASSING
        ok 1
    ...
    #   at /home/lanx/perl/pm/test_metric.pl line 8.
    1..5
    # Looks like you failed 2 tests of 5.                   <--- Metric
    
  3. or download this
    # test_metric.pl:33: [
    #   { actual_ok => 1, name => "PASSING", ok => 1, reason => "", type =
    +> "" },
    ...
    #   { actual_ok => 0, name => "FAILING", ok => 0, reason => "", type =
    +> "" },
    #   { actual_ok => 0, name => "FAILING", ok => 1, reason => "", type =
    +> "todo" },
    # ]