Subject: | Could you make dependency on Test::Exception optional? |
1.29 introduced a dependency on Test::Exception. It is unfortunate for such a basic building block of CPAN like Expect.pm to depend on something that comes much later in the bootstrapping dependency chains.
Could you make the two tests that depend on Test::Exception skip_all if Test::Exception is not available?
Or maybe this: throws_ok is is use three times now. Alternatively a two-liner would probably not be too hard to write? Something like
eval { ... };
like $@, qr/.../;
Bear with me, I make this suggestion on the background of recent fragility of Test::More and Test::Exception. Otherwise I would not look into such dependency details. But such issues creep in silently and hit us when we least need them.
Thanks,