Changes for version 0.1.1 - 2008-03-11
- Documentation:
- document the indexing/slicing of ->return and ->warn;
- smaller tweaks;
- new methods *_isa_ok;
- Test::Trap:
- usage patterns clearly indicate we need *_isa_ok tests: a $trap->did_return w/BAIL_OUT followed by an isa_ok($trap->return(0)) w/BAIL_OUT must constitute the clearest test-trap anti-pattern since C<() = trap {...}>;
- note: *_can_ok is still out, since it does not take any kind of name, and the TTB interface still expects a name;
- Tests:
- subclass Pod::Coverage so that it treats the functions "imported" from Test::Trap::Builder as though they were native, not imported, to the package we're testing;
- update t/pod-coverage.t to ignore the latest methods and functions somehow documented: layer:*, *_isa_ok, Next, Prop, Run, etc;
- prevent t/99-coverage.t exiting with code 8 on success, now that Test-Simple actually catches that stuff;
- Build:
- up the Test::Tester dependency to 0.107 -- I don't know what broke t/10-tester.t; I don't think it was anything of mine -- but upgrading Test::Tester fixed it.
Modules
Trap exit codes, exceptions, output, etc.
Backend for building test traps
Output layer backend using PerlIO::scalar
"Safe" output layer backend using File::Temp
Output layer backend using File::Temp