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
- ubuntu stonking: libtest-unit-perl 0.30-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms