1Shipwright::Test(3)   User Contributed Perl Documentation  Shipwright::Test(3)
2
3
4

NAME

6       Shipwright::Test - Test
7

SYNOPSIS

9           use Shipwright::Test;
10
11   has_svk
12       check to see if we have svk or not, also limit the svk version to be
13       2+.  in fact, it also checks svnadmin since we need that to create repo
14       for svk.
15
16   has_svn
17       check to see if we have svn or not, also limit the svn version to be
18       1.4+.  in fact, it also checks svnadmin since we need that to create
19       repo.
20
21   has_git
22       check to see if we have git or not
23
24   skip_svn
25       if skip svn when test.  skip test svn unless env SHIPWRIGHT_TEST_SVN is
26       set to true and the system has svn
27
28   skip_svk
29       if skip svk when test.  skip test svk unless env SHIPWRIGHT_TEST_SVK is
30       set to true and the system has svk
31
32   skip_git
33       if skip git when test.  skip test git unless env SHIPWRIGHT_TEST_GIT is
34       set to true and the system has git
35
36   create_fs_repo
37       create a repo for fs
38
39   create_git_repo
40       create a repo for git
41
42   create_svk_repo
43       create a repo for svk, will set $ENV{SVKROOT} accordingly.  return
44       $ENV{SVKROOT}
45
46   create_svn_repo
47       create a svn repo.  return the repo's uri, like file:///tmp/foo
48
49   init
50       init something, like log
51
52   shipwright_bin
53       return the path of bin/shipwright
54
55   devel_cover_enabled
56       return true if -MDevel::Cover
57
58   test_cmd
59       a simple wrap for test cmd like create, list ...
60

AUTHORS

62       sunnavy  "<sunnavy@bestpractical.com>"
63
65       Shipwright is Copyright 2007-2015 Best Practical Solutions, LLC.
66
67       This program is free software; you can redistribute it and/or modify it
68       under the same terms as Perl itself.
69
70
71
72perl v5.28.0                      2017-11-04               Shipwright::Test(3)
Impressum