Subject: | Does not play nicely with Test2::V0 |
[10:38:53] <oalders> What am I doing wrong with Test::Warnings here? https://gist.github.com/oalders/9e585bae11563a0ce66ee1729e9040a3
[10:39:50] <Grinnz> you're using Test2, just use https://metacpan.org/pod/Test2::V0#WARNINGS1
[10:41:27] <Grinnz> or for a more direct analogue, https://metacpan.org/pod/Test2::Plugin::NoWarnings
[10:42:46] <ether> Test::Warnings is compatible with Test2 infrastructure
[10:42:59] <ether> so you can switch, or not, whenever
[10:44:34] <Grinnz> it doesn't seem to be adding to the test count in that example
[10:45:07] <ether> it doesn't add to the plan. tests with done_testing() only generate a plan when they're done
[10:45:21] <ether> so I guess Test::Warnings has been broken with Test2 now
[10:45:27] <ether> it's supposed to hook into the done_testing sub
[10:46:04] <ether> it's fine if you just use Test::More though