Shipwright::Test(3)

πŸ“¦
version 2.4.42 Β· 2 versions
, in fedora 43

πŸ’– 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 have svk on the system, and it also caps the version at 2+. and lowkey it also checks for svnadmin, because we need that to create a repo for svk. sneaky double-check, we respect it ✨
  • has_svn β€” checks whether you have svn, and limits the version to 1.4+. same deal as above: it also checks svnadmin because we need it to create a repo. yes bestie, it's giving "redundant but necessary" πŸ’€
  • has_git β€” checks whether you have git. that's it. simple. iconic. πŸ‘‘
  • skip_svn β€” tells you whether to skip svn while testing. it skips the svn test unless the env var SHIPWRIGHT_TEST_SVN is set to true and the system actually has svn. both conditions, no shortcuts πŸ™ˆ
  • skip_svk β€” same energy for svk: skip the svk test unless SHIPWRIGHT_TEST_SVK is set to true and the system has svk 🌈
  • skip_git β€” and again for git: skip the git test unless SHIPWRIGHT_TEST_GIT is set to true and the system has git ⭐
  • create_fs_repo β€” creates a repo for fs πŸ“
  • create_git_repo β€” creates a repo for git 🌿
  • create_svk_repo β€” creates a repo for svk, 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 an svn repo. returns the repo's uri, like file:///tmp/foo πŸ”₯
  • init β€” inits something, like log πŸͺ΅
  • shipwright_bin β€” returns the path of bin/shipwright. the main character's address, basically πŸ‘‘
  • devel_cover_enabled β€” returns true if -MDevel::Cover 🧚
  • test_cmd β€” a simple wrap for test cmd stuff like create, list, … you get the vibe πŸ’«

🌟 AUTHORS 🌟

sunnavy <sunnavy@bestpractical.com> β€” yeah, that's the one. shoutout 🫢


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