Test::...corator(3pm)

πŸ’– Test::Unit::Decorator β€” unit testing framework helper class πŸ’–

okay so bestie, welcome to Test::Unit::Decorator, a lil page from the User Contributed Perl Documentation collection fr fr. it's a helper class for the Test::Unit unit testing framework and it's honestly giving tiny but mighty ✨


🌸 SYNOPSIS 🌸

# A Decorator for Tests. Use TestDecorator as the base class
# for defining new test decorators. Test decorator subclasses
# can be introduced to add behaviour before or after a test
# is run.

like… that's the whole vibe. a decorator for tests, periodt. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea πŸ“: this is a Decorator for Tests. you use TestDecorator as the base class when you're defining new test decorators, okay?

and then test decorator subclasses can be introduced to add behaviour before or after a test is run. it's giving "wrap the test, glow it up, run it" energy πŸ‘‘

no cap, that's literally it. simple. iconic. main character behaviour from a class that just decorates πŸŽ€


πŸ’œ AUTHOR πŸ’œ

Copyright (c) 2001 Kevin Connor <kconnor@interwoven.com>

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

shoutout to Kevin for this one, we love a 2001 copyright that's still holding it down 🫢


⭐ SEE ALSO ⭐

  • Test::Unit::TestCase

go read that one too bestie, it's right there iykyk 🌈


lowkey obsessed with how small this page is. every single fact is here and yet she's still serving ✨

and that's the whole page, bestie πŸ’– this version came from perl v5.40.1, dated 2026-04-05, filed under the extremely abbreviated name Test::...corator(3pm) in the User Contributed Perl Documentation section. mwah, slay, go decorate some tests πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from