DOKK / manpages / debian 11 / libtest-unit-perl / Test::Unit::Listener.3pm.en
Test::Unit::Listener(3pm) User Contributed Perl Documentation Test::Unit::Listener(3pm)

Test::Unit::Listener - unit testing framework abstract base class

This class is not intended to be used directly

This class is used by the framework to define the interface of a test listener. It is an abstract base class implemented by the test runners.

Due to the nature of the Perl OO implementation, this class is not really needed, but rather serves as documentation of the interface.

Each of the add_ methods gets two arguments: "test" and "exception". The test is a Test::Unit::Test and the exception is a Test::Unit::Exception. Typically you want to display "test->name()" and keep the rest as details.

Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file included in this distribution).

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

  • Test::Unit::Exception
  • Test::Unit::TestRunner
  • Test::Unit::TkTestRunner
2020-05-18 perl v5.30.2