Help for this page

Select Code to Download


  1. or download this
     my $fmt = TAP::Formatter::HTML->new;
     $fmt->css_uris([])->inline_css( $my_css )
         ->js_uris(['http://mysite.com/jquery.js', 'http://mysite.com/cust
    +om.js'])
         ->inline_js( '$(div.summary).hide()' );
    
  2. or download this
    use TAP::Formatter::HTML;
    use TAP::Harness;
    use accessors;
    ...
    my $harness = TAP::Harness->new( { formatter => $fmt, merge => 1 } );
    $fmt->output_file('output.html');
    $harness->runtests('simple.t');
    
  3. or download this
    print "\nHello world";