code: public function paintFail($message)
           {
               parent::paintFail($message);
               $msg        = '<span class="fail">Fail</span>: ';
               $breadcrumb = $this->getTestList();
               array_shift($breadcrumb);
               $msg .= implode('-&gt;', $breadcrumb);
               $msg .= '-&gt;' . htmlentities($message) . '<br />';
               echo "add_fail('$msg');\n";
           }
docs: Paints the test failure with a breadcrumbs trail
  of the nesting test suites below the top level test.
  
  @param string $message    Failure message displayed in the context of the other tests.