Shipwright::Test(3)
π Shipwright::Test π
okay bestie, welcome to the Shipwright::Test(3) page β yeah it's from the User Contributed Perl Documentation collection, we love a classic π. This one's a lil grab-bag of test helpers, and it's genuinely useful, so let's get into it, no cap.
β¨ NAME β¨
Shipwright::Test β literally just Test. That's the whole name. Short king behavior, honestly π
πΈ SYNOPSIS πΈ
use Shipwright::Test;
boom. that's it. one line and you're in π¦
π«Ά the functions π«Ά
here's everything this module hands you, one by one:
has_svkβ checks whether you even havesvkon the system, and it also caps the version at 2+. and lowkey it also checks forsvnadmin, because we need that to create a repo for svk. sneaky double-check, we respect it β¨has_svnβ checks whether you havesvn, and limits the version to 1.4+. same deal as above: it also checkssvnadminbecause we need it to create a repo. yes bestie, it's giving "redundant but necessary" πhas_gitβ checks whether you havegit. that's it. simple. iconic. πskip_svnβ tells you whether to skip svn while testing. it skips the svn test unless the env varSHIPWRIGHT_TEST_SVNis set to true and the system actually has svn. both conditions, no shortcuts πskip_svkβ same energy for svk: skip the svk test unlessSHIPWRIGHT_TEST_SVKis set to true and the system has svk πskip_gitβ and again for git: skip the git test unlessSHIPWRIGHT_TEST_GITis set to true and the system has git βcreate_fs_repoβ creates a repo forfsπcreate_git_repoβ creates a repo forgitπΏcreate_svk_repoβ creates a repo forsvk, and it sets$ENV{SVKROOT}accordingly. it returns$ENV{SVKROOT}. so it gives you back what it just set β cute, consistent, obsessed πcreate_svn_repoβ creates ansvnrepo. returns the repo's uri, likefile:///tmp/fooπ₯initβ inits something, likelogπͺ΅shipwright_binβ returns the path ofbin/shipwright. the main character's address, basically πdevel_cover_enabledβ returns true if-MDevel::Coverπ§test_cmdβ a simple wrap for test cmd stuff likecreate,list, β¦ you get the vibe π«
π AUTHORS π
sunnavy <sunnavy@bestpractical.com> β yeah, that's the one. shoutout π«Ά
π LICENCE AND COPYRIGHT π
Shipwright is Copyright 2007-2015 Best Practical Solutions, LLC.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
like, go wild, but legally, and on Perl's terms. periodt π
and that's the whole page, bestie!! π this was perl v5.42.0, dated 2025-07-25 β so if you're reading this later, hi from the past, hope your tests all pass πΈπ¦π
π¦ where this page comes from
- fedora 43: perl-Shipwright 2.4.42-24.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms