Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Remove finalize(), parent() and child(). Add is_subtest(). #195

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Friday Nov 18, 2011 at 23:19 GMT Orig: https://github.com/Test-More/test-more/issues/229

Test::Requires checks $builder->can("parent") before calling parent. Because parent is a stub which throws an exception telling the user that parent has been removed... it defeats the point of checking if Test::Builder has a parent method.

This will provide a clean upgrade path from old to new style subtests.

schwernbot commented 10 years ago

From: @schwern Date: Friday Nov 25, 2011 at 22:45 GMT Orig: https://github.com/Test-More/test-more/issues/229#issuecomment-2878735

Ok, I'm happy with this one. Thanks @dunsmoreb!