Package : perl-Test-InDistDir > RPM : perl-Test-InDistDir-1.112.71-10.mga9.src.rpm
Basic items
Name | perl-Test-InDistDir |
Version | 1.112.71 |
Release | 10.mga9 |
URL | https://metacpan.org/release/Test-InDistDir |
Group | Development/Perl |
Summary | Test environment setup for development with IDE |
Size | 8KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
This module helps run test scripts in IDEs like Komodo.
When running test scripts in an IDE i have to set up a project file
defining the dist dir to run tests in and a lib dir to load additional
modules from. Often I didn't feel like doing that, especially when i only
wanted to do a small patch to a dist. In those cases i added a BEGIN block
to mangle the environment for me.
This module basically is that BEGIN block. It automatically moves up one
directory when it cannot see the test script in "t/$scriptname" and
includes 'lib' in @INC when there's no blib present. That way the test ends
up with almost the same environment it'd get from EUMM/prove/etc., even
when it's actually run inside the t/ directory.
When running test scripts in an IDE i have to set up a project file
defining the dist dir to run tests in and a lib dir to load additional
modules from. Often I didn't feel like doing that, especially when i only
wanted to do a small patch to a dist. In those cases i added a BEGIN block
to mangle the environment for me.
This module basically is that BEGIN block. It automatically moves up one
directory when it cannot see the test script in "t/$scriptname" and
includes 'lib' in @INC when there's no blib present. That way the test ends
up with almost the same environment it'd get from EUMM/prove/etc., even
when it's actually run inside the t/ directory.
Media information
Distribution release | Mageia 9 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-20 14:46:09 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |