Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::indistdir(3pm) [debian man page]

Test::InDistDir(3pm)					User Contributed Perl Documentation				      Test::InDistDir(3pm)

NAME
Test::InDistDir - test environment setup for development with IDE 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 <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 <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 perl v5.12.4 2011-07-26 Test::InDistDir(3pm)

Check Out this Related Man Page

Test::Most::Exception(3pm)				User Contributed Perl Documentation				Test::Most::Exception(3pm)

NAME
Test::Most::Exception - Internal exception class VERSION
Version 0.25 SYNOPSIS
This is the exception thrown by "die_on_fail" by "Test::Most". EXPORT
We export only one function: "throw_failure" This is the exception for "die_on_fail". AUTHOR
Curtis Poe, "<ovid at cpan.org>" BUGS
Please report any bugs or feature requests to "bug-test-extended at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Most <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Most>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Most You can also look for information at: o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Most <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Most> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/Test-Most <http://annocpan.org/dist/Test-Most> o CPAN Ratings http://cpanratings.perl.org/d/Test-Most <http://cpanratings.perl.org/d/Test-Most> o Search CPAN http://search.cpan.org/dist/Test-Most <http://search.cpan.org/dist/Test-Most> CAVEATS
The stack trace is likely useless due to how "Test::Builder" internals work. Sorry 'bout that. ACKNOWLEDGEMENTS
Many thanks to "perl-qa" for arguing about this so much that I just went ahead and did it :) Thanks to Aristotle for suggesting a better way to die or bailout. Thanks to 'swillert' (<http://use.perl.org/~swillert/>) for suggesting a better implementation of my "dumper explain" idea (<http://use.perl.org/~Ovid/journal/37004>). COPYRIGHT &; LICENSE Copyright 2008 Curtis Poe, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-27 Test::Most::Exception(3pm)
Man Page