Subject: | prove does not honour -I option when searching for modules (-M) and/or plugins (-P) |
I have developed a helper module that is local to one of my perl projects. The helper module should be executed once before all my tests. I have used prove's -M option. I have stored the helper module in a dedicated directory called tlib/. Unfortunately prove does not find the helper module if I use -Itlib. It would be create if the -I option could be honoured by prove while searching for modules and plugins.
PS: From my perspective the documentation should be improved slightly: load() is called for modules (-M) too and it is not completely clear when to use the module (-M) and when to use the pluging (-P) approach.
Kind regards
Sven