Fennec...llector(3pm)
π Fennec::Collector β the manual page, but make it make sense π
okay so bestie, welcome to Fennec::Collector β it's a Perl module, it's part of the User Contributed Perl Documentation, and it's literally the group chat moderator between your parent process and all its child processes. π«Ά
β¨ NAME β¨
Fennec::Collector β funnel results from child to parent. that's it, that's the whole job description, and she does it flawlessly. π
πΈ DESCRIPTION πΈ
The collector has two jobs and she is NOT multitasking badly, she is multitasking iconically:
- In the parent process, she's responsible for gathering all the test results from the child processes.
- In the child processes, she's responsible for sending results to the parent process.
so basically she's the one carrying messages across the family dinner table. no cap. β¨
π₯ METHODS SUBCLASSES MUST OVERRIDE π₯
like, if you're subclassing and you don't do these, it's giving broken. you MUST override them:
$bool = ok( $bool, $description )β Fennec sometimes needs to report the result of an internal check. these checks will pass a boolean true/false value and a description. so yeah,$boolin,$boolout,$descriptionalong for the ride. βdiag( $msg )β Fennec uses this to report internal diagnostics messages. just take the$msgand do your thing with it. π©Ίend_pidβ called just before a child process exits. it's the goodbye hug. πcollectβ used by the parent process at an interval to get results from children and display them. parent's like "any updates bestie?" on a timer. π
π METHODS SUBCLASSES MAY OVERRIDE π
these ones are optional, you may override them, no pressure, only vibes:
newβ builds the object from params, then callsinit. constructor behavior, very main character. πinitβ called bynew. that's the whole note. she just gets called. β¨finishβ called at the very end of"done_testing()", and no tests should be reported after this. that's the boundary, babes. nothing after finish. periodt. π«
π¦ METHODS SUBCLASSES MUST BE AWARE OF π¦
you don't override these, you just need to know about them. awareness check, you passed: π
test_countβ holds the test count so far. πtest_failedβ holds the number of tests failed so far. πinc_test_countβ used to add 1 to the number of tests. one. just one. increment. π’inc_test_failedβ used to add 1 to the number of failed tests. also one. sadly. π
π AUTHORS π
Chad Granum exodist7@gmail.com β yeah, that's the author, credit where it's due, iconic of him honestly. π
β COPYRIGHT β
Copyright (C) 2013 Chad Granum
Fennec is free software; Standard perl license (GPL and Artistic).
Fennec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
bestie read that part again. no warranty. none. zero. she's free software and she's doing her best. π
and that's the whole page, you ate it, you're welcome. π this was perl v5.36.0, dated 2022-12-02, and it's the Fennec...llector(3pm) page β yeah the title's got the ellipsis in it, that's just how she is, we don't question it. mwah. π
β¨π
π¦ where this page comes from
- debian bookworm: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libfennec-perl 2.018-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfennec-perl 2.018-2 Β· 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