Test::S...w::Meta(3)

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

πŸ’– 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 to 0 to 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 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