[Perlunit-devel] new filtering mechanism, and documentation issues
Status: Beta
Brought to you by:
mca1001
|
From: Adam S. <ad...@sp...> - 2002-06-20 15:34:21
|
I just committed a nice filtering enhancement. From the ChangeLog:
- remove ALL filtering hack, and instead allow filtering via coderefs:
sub filter {{
foo_tests => sub {
my $method = shift;
return $method =~ /foo/;
},
everything => sub { 1 },
# method lists still work
another_token => [ qw/test_method1 test_method2/ ],
}}
Documentation is slowly improving on the more esoteric stuff too.
Up till now the classes used internally by the framework have not been
documented, the idea being that only PerlUnit developers should need
to understand them. However it seems to me that it's a far old grey
area between where the framework stops and where the developer takes
over, so I've been thinking that maybe the framework should appear
more open, by being fully documented. Any opinions?
|