Open leonerd opened 2 years ago
For an extra superspecial bonus I'd love it to also have the automatic integration with Devel::MAT::Dumper
- you can just steal this code:
https://metacpan.org/dist/Test-Refcount/source/lib/Test/Refcount.pm#L121-132
https://github.com/wolfsage/scratchpg has a conversion of the .pm file and one of the tests to show how it could be done. I could maybe do more later to make it into a Test2::Suite addon...
It'd be great if there were some test assertions for refcounts. A copy of those in Test::Refcount would be lovely:
For docs you can just copy the ones out of
Test::Refcount
if required: