# phpman > perldoc > TAP::Formatter::Session

## NAME
    [TAP::Formatter::Session](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AFormatter%3A%3ASession/markdown) - Abstract base class for harness output delegate

## VERSION
    Version 3.43

## METHODS
### Class Methods
   "new"
     my %args = (
        formatter => $self,
     )
     my $harness = [TAP::Formatter::Console::Session](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AFormatter%3A%3AConsole%3A%3ASession/markdown)->new( \%args );

    The constructor returns a new "[TAP::Formatter::Console::Session](https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AFormatter%3A%3AConsole%3A%3ASession/markdown)" object.

    *   "formatter"

    *   "parser"

    *   "name"

    *   "show_count"

   "header"
    Output test preamble

   "result"
    Called by the harness for each line of TAP it receives.

   "close_test"
    Called to close a test session.

   "clear_for_close"
    Called by "close_test" to clear the line showing test progress, or the parallel test ruler,
    prior to printing the final test result.

   "time_report"
    Return a formatted string about the elapsed (wall-clock) time and about the consumed CPU time.

