I think you've made an invalid assumption that examples will just happen
to have a console or input/output interface.
How do I show an example of using Wx.pm by implementing Windows Notepad
in the example. Or a POE asyncronous application, or a curses interface,
and so on.
Adam K
Gabor Szab
Gabor Szabo wrote:
> Going along the path of testing the examples in my distribution,
> I think it could be generalized. What do you think about this?
I think putting the expected output into files fractures the test so that its
not obvious from just looking at the test what's going on. You have
Going along the path of testing the examples in my distribution,
I think it could be generalized. What do you think about this?
Gabor
=head1 NAME
Test::Example - Check if all the examples in the distribution work correctly
=head1 SYNOPSIS
use Test::Example;
test_all_examples();
or