孙海军 > Shipwright-2.4.33 > Shipwright::Test

Download:
Shipwright-2.4.33.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Shipwright-2.4.40

NAME ^

Shipwright::Test - Test

SYNOPSIS ^

    use Shipwright::Test;

has_svk

check to see if we have svk or not, also limit the svk version to be 2+. in fact, it also checks svnadmin since we need that to create repo for svk.

has_svn

check to see if we have svn or not, also limit the svn version to be 1.4+. in fact, it also checks svnadmin since we need that to create repo.

has_git

check to see if we have git or not

skip_svn

if skip svn when test. skip test svn unless env SHIPWRIGHT_TEST_SVN is set to true and the system has svn

skip_svk

if skip svk when test. skip test svk unless env SHIPWRIGHT_TEST_SVK is set to true and the system has svk

skip_git

if skip git when test. skip test git unless env SHIPWRIGHT_TEST_GIT is set to true and the system has git

create_fs_repo

create a repo for fs

create_git_repo

create a repo for git

create_svk_repo

create a repo for svk, will set $ENV{SVKROOT} accordingly. return $ENV{SVKROOT}

create_svn_repo

create a svn repo. return the repo's uri, like file:///tmp/foo

init

init something, like log

shipwright_bin

return the path of bin/shipwright

devel_cover_enabled

return true if -MDevel::Cover

test_cmd

a simple wrap for test cmd like create, list ...

AUTHORS ^

sunnavy <sunnavy@bestpractical.com>

LICENCE AND COPYRIGHT ^

Shipwright is Copyright 2007-2012 Best Practical Solutions, LLC.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: