Source

p5-thanks / xt / 06versions.t

Full commit
use XT::Util;
use Test::More;
use Test::HasVersion;

plan skip_all => __CONFIG__->{skip_all}
	if __CONFIG__->{skip_all};

if ( __CONFIG__->{modules} )
{
	my @modules = @{ __CONFIG__->{modules} };
	pm_version_ok($_, "$_ is covered") for @modules;
	done_testing(scalar @modules);
}
else
{
	all_pm_version_ok();
}