Test::S...ilities(3)

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

πŸ’– Test::Stream::Plugin::Capabilities πŸ’–

okay bestie, gather round, this is a page from the User Contributed Perl Documentation and it's all about Test::Stream::Plugin::Capabilities πŸŽ€

✨ NAME ✨

Test::Stream::Plugin::Capabilities β€” it imports constants so you can check what the current system is actually capable of. like, does this machine have the range? does it have the juice? let's find out πŸ’…


πŸ’€ DEPRECATED πŸ’€

okay so not to be dramatic but this distribution is deprecated, no cap. it's been replaced by Test2, Test2::Suite, and Test2::Workflow.

if you need to migrate, there's a conversion guide waiting for you in Test::Stream::Manual::ToTest2. go read it, bestie, don't stay in the past πŸ¦‹


🌸 DESCRIPTION 🌸

sometimes you just wanna know what the current system can do. like, what are its capabilities?? and honestly, checking for that stuff manually can get complicated and error prone β€” it's giving chaos, it's giving bugs at 3am 😭

so this tool shows up like the main character and gives you constants for some of the most common capability checks. iconic behaviour, truly.


✨ SYNOPSIS ✨

use Test::Stream qw/... Capabilities/;

if (CAN_THREAD) {
    ... Code that uses threads ...
}

if (CAN_FORK) {
    ... Code that forks ...
}

if (CAN_REALLY_FORK) {
    ... Code that requires true forking, but breaks with pseudo-fork ...
}

look at that syntax, look at that structure, we love a clean import 🫢


πŸ” CHECKS πŸ”

for the full list of checks, go peek at Test::Stream::Capabilities β€” because this plugin is literally just a simple wrapper around it. it's the messenger, not the message, iykyk πŸ’œ


🌈 SOURCE 🌈

the source code repository for Test::Stream lives right here:

http://github.com/Test-More/Test-Stream/

go star it, go read it, go be nosy, that's what we do ⭐


πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

🌟 AUTHORS 🌟

  • Chad Granum <exodist@cpan.org>

Copyright 2015 Chad Granum <exodist7@gmail.com>.

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

See http://dev.perl.org/licenses/


ok so that's the whole page, every flag-free constant, every name, every link, all of it β€” nothing skipped, nothing invented, we keep the facts and serve the vibe πŸ’–

and that's the tea, bestie πŸ“ this little page came from perl v5.42.0 and was dated 2025-07-25 β€” stay slay, stay capable βœ¨πŸ’…πŸ§š

πŸ“¦ where this page comes from