| 1 |
NAME |
| 2 |
|
| 3 |
Test::Requires::Git - Check your test requirements against the available version of Git |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
|
| 7 |
use Test::Requires::Git; |
| 8 |
|
| 9 |
# needs some git that supports `git init $dir` |
| 10 |
test_requires_git version_ge => '1.6.5'; |
| 11 |
|
| 12 |
DESCRIPTION |
| 13 |
|
| 14 |
Test::Requires::Git checks if the version of Git available for testing |
| 15 |
meets the given requirements. |
| 16 |
|
| 17 |
The "current git" is obtained by running "git --version" (so the first |
| 18 |
"git" binary found in the "PATH" will be tested). |
| 19 |
|
| 20 |
If the checks fail, then all tests will be skipped. |
| 21 |
|
| 22 |
AUTHOR |
| 23 |
|
| 24 |
Philippe Bruhat (BooK), <[email protected]>. |
| 25 |
|
| 26 |
COPYRIGHT |
| 27 |
|
| 28 |
Copyright 2015 Philippe Bruhat (BooK), all rights reserved. |
| 29 |
|
| 30 |
LICENSE |
| 31 |
|
| 32 |
This program is free software; you can redistribute it and/or modify it |
| 33 |
under the same terms as Perl itself. |
| 34 |
|