Test::S...w::Meta(3)
π Test::S...w::Meta(3) β the whole vibe π
okay bestie, welcome to the manual page for Test::Stream::Workflow::Meta π β this is part of the User Contributed Perl Documentation, and it's all about meta-data for tests that use workflows. yes it's a mouthful, no I'm not sorry, let's go π¦
π¨ DEPRECATED π¨
ngl this one hurts to say but: this distribution is deprecated in favor of Test2, Test2::Suite, and Test2::Workflow.
if you need to escape the old ways, check Test::Stream::Manual::ToTest2 for a conversion guide. it's giving β¨glow upβ¨, take the exit bestie π
β οΈ EXPERIMENTAL CODE WARNING β οΈ
okay so, direct quote time: "This module is still EXPERIMENTAL".
here's the tea: Test-Stream is now stable, but this particular module is still experimental. you're absolutely still free to use it π«Ά β but you have been warned that it may change in backwards incompatible ways (yes, the original says "backwords", we're leaving that exactly as-is, it's iconic π). This message will be removed from this module's POD once it is considered stable. periodt.
πΈ DESCRIPTION πΈ
so when a test package uses workflows, it needs somewhere to hold the primary unit, right? that's literally this. this meta-data holds the primary unit for test packages. and it also takes care of ensuring they get run at the correct times. main character energy, honestly π
β¨ METHODS β¨
π CLASS METHODS
$meta = $CLASS->build($pkg, $file, $start_line, $end_line)β Create a meta-instance for the specified package. If one already exists it will return the existing one instead, ignoring all arguments other than$pkg. (so yeah, once it's built, the rest of your args get ghosted π)$meta = $CLASS->get($pkg)β Get the existing meta-instance for the specified package. This will return"undef"if none exists. no instance, no vibes.$meta = $CLASS->purge($pkg)β Delete the meta-instance for the specified package. The instance will be returned, but will no longer be tied to the package. it's giving "we're not together anymore but I kept your hoodie" π
π¦ OBJECT METHODS
$unit = $meta->unit$meta->set_unit($unit)β Get/Set the associated unit (Test::Stream::Workflow::Unit). π$runner = $meta->runner$meta->set_runner($runner)β Get/Set the runner to use (Test::Stream::Workflow::Runner). πβοΈ$ar = $meta->runner_args$meta->set_runner_args([...])β Get/Set the args arrayref to be passed to the runner. an arrayref, bestie, don't come at me with a plain list π$bool = $meta->autorun$meta->set_autorun($bool)β Defaults to true. Set this to0to turn off automatic running of the workflow. lowkey the most powerful little boolean in here π$meta->run()β Run the workflow. slay, go off π₯$meta->purge()β Remove the meta object from the package it was created for. bye bestie, it was real π
π SOURCE π
The source code repository for Test::Stream can be found at http://github.com/Test-More/Test-Stream/. go snoop, it's fine, we all do it π§
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
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, ty for reading, mwah π«Άπ
this has been Test::S...w::Meta(3) from perl v5.42.0, dated 2025-07-25 β User Contributed Perl Documentation. k bye, drink water, and go run your workflows β¨
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.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