I am getting Child exited without calling finalize() Errors in my testing. But I haven't read about that anywhere so far.
I am testing imports on string require. The first subtest works, the subs are defined in the calling main, and warn about redefinition. And they are not defined in the calling package.
As the namespace is not imported (there is no package definition in the required file), I expect a test to call a fully qualified routines from the required package to fail.
ok( ! &working_l::setlist, "calling undefined routine fails" );
Undefined subroutine &working_l::setlist called at working.t line 33.
# Child (calling undefined subs should not work) exited without ca
not ok 3 - calling undefined subs should not work
# Failed test 'calling undefined subs should not work'
# at C:/Dwimperl/perl/lib/Test/Builder.pm line 252.
# Tests were run but no plan was declared and done_testing() was not s
The test appears to exit where I want it to return false here, and continue. The error seems to be fatal. Do I need to start wrapping evals, or which tests should I be making here?