http://grep.cpan.me/?q=use+lib+%28%27|%22|q.%2B%3F%29t%2Flib - use lib
('|"|q.+?)t/lib - 948 distributions. Not all use Test::More, but
probably most.
But I would still expect a tag for pushing 't/lib' to @INC, not for
Test::More to push to @INC silently, on the grounds that it's easier
to add to
> use t::lib::MyPackage;
Nice tip!
Searching on "use t::lib" led me to PPI which has both lib/PPI.pm and
t/lib/PPI.pm - I suspect that they're not interchangeable and that
trying to add t/lib to @INC would break its tests.
Daniel
On 30 January 2014 22:25, Leon Timmermans wrote:
> On Fri, Jan 3