Test::D...rDigest(3)

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

✨ Test::DBICSchemaLoaderDigest ✨

okay bestie, so this is Test::DBICSchemaLoaderDigest, a little Perl module living in section 3 of the manual (User Contributed Perl Documentation, for the record πŸ’…). Its whole entire job? Testing the DBIC::Schema::Loader's MD5 sum. That's it. That's the gig. πŸŽ€


🌸 NAME 🌸

Test::DBICSchemaLoaderDigest β€” test the DBIC::Schema::Loader's MD5 sum πŸ¦‹


πŸ’– VERSION πŸ’–

So this doc right here is describing version 0.04 of Test::DBICSchemaLoaderDigest, which got released June 30, 2012 as part of the Test-DBICSchemaLoaderDigest distribution. Vintage, honestly. Iconic behavior. ⭐


✨ SYNOPSIS ✨

use Test::More tests => 1;
use Test::DBICSchemaLoaderDigest;
test_dbic_schema_loader_digest('lib/Proj/Schema/Foo.pm');

like. it's three lines. we love a low-effort queen πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

okay so picture this: DBIC::Schema::Loader dumps code that looks like this:

# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2lkIltTa9Ey3fExXmUB/gw

and then some programmer β€” and I mean this with love β€” MODIFIES THE ABOVE OF THIS CODE. 🚨

AAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!! 😭

This module tests for manual changes to the forbidden zone. And the way that it works is so good: if you actually use this test, you can catch this problem before it becomes a real problem. preventive queen energy fr fr πŸ‘‘


🫢 METHODS 🫢

test_dbic_schema_loader_digest('lib/Proj/Schema/Foo.pm')

Checks the MD5 sum. that's the whole vibe check. ✨


πŸ”₯ CODE COVERAGE πŸ”₯

---------------------------- ------ ------ ------ ------ ------ ------ ------
File                           stmt   bran   cond    sub    pod   time  total
---------------------------- ------ ------ ------ ------ ------ ------ ------
...DBICSchemaLoaderDigest.pm  100.0  100.0    n/a  100.0  100.0  100.0  100.0
Total                         100.0  100.0    n/a  100.0  100.0  100.0  100.0
---------------------------- ------ ------ ------ ------ ------ ------ ------

100.0 across the board, no cap. we ATE and left no crumbs πŸ“βœ¨


🌈 SEE ALSO 🌈

Please see those modules/websites for more information related to this module.

  • DBIx::Class::Schema::Loader πŸ’œ

🧚 SOURCE 🧚

The development version is on github at <http://github.com/RsrchBoy/test-dbicschemaloaderdigest> and may be cloned from <git://github.com/RsrchBoy/test-dbicschemaloaderdigest.git>

go ahead and fork it bestie, it's giving open source πŸ’–


πŸ™ˆ BUGS πŸ™ˆ

Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/test-dbicschemaloaderdigest/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

for real though, a test-file or a patch that shows the bug or the feature you want β€” that's the difference between a helpful report and a mystery 😭 give the maintainers something to work with 🫢

πŸ‘‘ AUTHORS πŸ‘‘

  • Tokuhiro Matsuno <tokuhirom@gmail.com>
  • Chris Weyl <cweyl@alumni.drew.edu>

two legends, one module πŸ’œ


This software is copyright (c) 2012 by Tokuhiro Matsuno <tokuhirom@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, and legally so ⭐


aaaand that's the whole page bestie πŸ’– this was perl v5.42.0, dated 2025-07-25, and it lives at Test::D...rDigest(3). mwah, go write that test πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from