Test::S...cTester(3)

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

πŸ’– Test::Stream::Bundle::SpecTester β€” bestie edition πŸ’–

okay so this is a page from the User Contributed Perl Documentation, and the module we're hyping up today is Test::Stream::Bundle::SpecTester. yes it's a mouthful, no we're not changing it, it's iconic like that πŸŽ€


✨ NAME ✨

Test::Stream::Bundle::SpecTester β€” literally just Spec + the Tester bundle, that's the whole vibe πŸ’…


πŸ’€ DEPRECATED πŸ’€

ngl bestie, this distribution is deprecated. like, officially. it's been retired in favor of Test2, Test2::Suite, and Test2::Workflow. πŸͺ¦

if you need to make the switch, go read Test::Stream::Manual::ToTest2 β€” it's the conversion guide, it's got you 🫢


🚨 EXPERIMENTAL CODE WARNING 🚨

"This module is still EXPERIMENTAL". not me quoting it exactly, but yes. πŸ’€

so here's the tea: Test-Stream itself is now stable, but this particular module is still experimental. you're absolutely still free to use it! nobody's stopping you. but you have been warned β€” it may change in backwords incompatible ways. (yes, that's how the original spells it, i'm not touching it, character for character, no cap.)

that message will get deleted from this module's POD once it's finally considered stable. until then: consider yourself warned, bestie πŸ™ˆ


🌸 DESCRIPTION 🌸

this bundle is a little combo platter, and it's giving ✨convenience✨. it includes:

  • the Test::Stream::Bundle::Tester bundle
  • the Test::Stream::Plugin::Spec plugin

two iconic faves, one bundle. obsessed. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

use Test::Stream Core, -SpecTester;

tests stuff => sub {
    is(
        intercept { ok(1, "pass") },
        array {
            event Ok => sub {
                call pass => T();
                call name => 'pass';
            };
            end;
        },
        "Intercepted an event"
    );
};

done_testing;

look at that. chef's kiss. 😭✨


πŸ‘‘ INCLUDED PLUGINS AND BUNDLES πŸ‘‘

🧚 Test::Stream::Plugin::Spec

provides SPEC workflow tools. that's the whole description and honestly? it ate. πŸ’…

🧚 Test::Stream::Bundle::Tester

imports tools that are useful for testing your test tools. very meta, very main character energy, we love a self-aware bundle. πŸ”₯


🌈 SOURCE 🌈

the source code repo for Test::Stream lives right here, go be nosy:

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


πŸŽ€ 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/


πŸ’Œ and that's the whole page, bestie!! this one's from perl v5.42.0, dated 2025-07-25, and it's page Test::S...cTester(3) of the User Contributed Perl Documentation. slay, go forth, and test responsibly πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from