Test::AskAnExpert::Interface::Mock - Mock interface for testing Test::AskAnExpert


Test-AskAnExpert documentation  | view source Contained in the Test-AskAnExpert distribution.

Index


NAME

Top

Test::AskAnExpert::Interface::Mock - Mock interface for testing Test::AskAnExpert

SYNOPSIS

Top

  use Test::AskAnExpert;

  initialize('Test::AskAnExpert::Interface::Mock',
              answer  => 'always do this',
              comment => 'saying this about it',
              skip    => 'or skip because of this',
              error   => 'or give this error'
	      never_answer => 0);

  # do some testing here to make sure Test::AskAnExpert
  # reacts properly.

DESCRIPTION

Top

This is for internal testing. If you're re-implementing Test::AskAnExpert you might find it useful yourself.

AUTHOR

Top

Edgar A. Bering, <trizor@cpan.org>

COPYRIGHT AND LICENSE

Top


Test-AskAnExpert documentation  | view source Contained in the Test-AskAnExpert distribution.