Test::Version

Test::Version is a Perl module that has the role to check for VERSION information in modules.
Download

Test::Version Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ars ex Machina, Corp.
  • Publisher web site:
  • http://search.cpan.org/~particle/Test-Version-0.02/lib/Version.pm

Test::Version Tags


Test::Version Description

Test::Version is a Perl module that has the role to check for VERSION information in modules. Test::Version is a Perl module that has the role to check for VERSION information in modules.SYNOPSISuse Test::Version;plan tests => $num_tests;version_ok( $file );FUNCTIONSversion_ok( FILENAME, ] )version_ok requires a filename and returns one of the three values: NO_FILE Could not find the file NO_VERSION File had no VERSION information VERSION_OK VERSION information existsversion_ok okays a test without an expected result if it finds VERSION information, or if an expected result is specified and it finds that condition. For instance, if you know there is no VERSION information, version_ok( $file, NO_VERSION );When it fails, version_ok will show error information.The optional third argument NAME is the name of the test which version_ok passes through to Test::Builder. Otherwise, it choose a default test name "VERSION test for FILENAME". Requirements: · Perl


Test::Version Related Software