GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::INDISTDIR (3)

.ds Aq ’

NAME

Test::InDistDir - test environment setup for development with IDE

CONTENTS

VERSION

version 1.112071

SYNOPSIS



    use Test::More;
    use Test::InDistDir;

    # when this is run from inside t/ with a default @INC, it will now be in the
    # dist dir and include ./lib in @INC



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.

At the same time it will still function correctly when called by EUMM/prove/etc., since it does not change the environment in those cases.

SUPPORT

    Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-test-indistdir at rt.cpan.org, or through the web interface at <http://rt.cpan.org/Public/Dist/Display.html?Name=Test-InDistDir>. You will be automatically notified of any progress on the request by the system.

    Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<https://github.com/wchristian/Test-InDistDir>



  git clone https://github.com/wchristian/Test-InDistDir



AUTHOR

Christian Walde <walde.christian@googlemail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Christian Walde.

This is free software, licensed under:



  DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::INDISTDIR (3) 2011-07-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.