The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Bomb

VERSION

version 0.004

SYNOPSIS

use this test to ignore part of your system until a deadline passes. After the deadline the test will fail unless you replace it. I use it for large projects where I want to forget about some subsystems until after other parts are done.

usage( in a test script ):

    bomb -after => 'Jan 31 2011';

before Jan 31 prints:

    ok 1 - bomb after Jan 31 2011

after deadline prints

    nok 1 - deadline passed

NOTE

this is a development tool. if you release code that uses this test I expect you will have some very upset users.

  1. add some kind of check to see if the user is building a release. if that is the case then fail.

  2. some way to centralize expiration dates; a configuration file with a name to date map so that I can have many tests that will fail on the same day and if I'm too busy that day I can just edit the config file and the tests will all pass again...

EXPORT

bomb is automatically exported; if you don't want to use the function why did you use the package?

SUBROUTINES/METHODS

bomb -after => 'date to expire'

acts like a test; errors cause test failure

AUTHOR

David Delikat, <david-delikat at usa.net>

BUGS

Please report any bugs or feature requests to bug-test-bomb at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=test-bomb. 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::Bomb

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 David Delikat.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 45:

Unknown directive: =head