Discussion/request on Test::More , have it add t/lib to @INC if -d

[email protected] (Torbjørn Lindahl) Fri, 31 Jan 2014 01:59:04 +0100
Newsgroups perl.qa
Message-ID <CA+Dw+SN5MYUShsVwmraxukS9VCxrrAOpE+_eC9s0C28ZiQoPzA@mail.gmail.com>
It seems t/lib is a common place to put modules used to support testing,
how about having Test::More push that path to @INC if -d 't/lib' ? It would
save me one , possibly two annoying lines of code in every .t file I write.
With an import tag, ':automiport' or something, it could perhaps require
all .pm files in that dir too/instead?

personally I end up with use lib 't/lib' in 9 of 10 projects.

-- 
mvh
Torbjørn Lindahl