NAME

Shipwright::Test - useful subs for tests are here

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.

create_fs_repo

create a repo for fs

create_svk_repo

create a repo for svk, will set $ENV{SVKROOT} accrodingly. 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 ...

INTERFACE