Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Version CPAN distribution.

Report information
The Basics
Id: 64300
Status: resolved
Priority: 0/
Queue: Test-Version

People
Owner: Nobody in particular
Requestors: world.mind [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Download (untitled) / with headers
text/plain 1.1k
Hello, I have a problem with Test::Version - there is simple example in attached tar file: . |-- Makefile |-- lib | `-- Module | `-- Name.pm `-- t |-- 01-version.t `-- 02-version-new.t Module/Name/pm - stub module that has VERSION inside. t/01-version.t - test version by Test::Version t/02-version-new.t - test for check version that I wrote If I run make test 01-version.t failed, but my test is ok. If I rigth understand test with Test::Version must be in directory with modules, but in standard cpan distribution modules in 'lib' directory, tests in 't'. I propose add to Test::Version function: all_version_ok( @dirs ) - test version for all modules in directories from @dirs also needed for it function: get_all_modules() get_version() get_module_count() and %fs; all this function you can get from 02-version-new.t for integration with Test::Version replace 'ok' on '$Test->ok' ------------------------------------------------------------ Test::Version 0.02 perl -v This is perl, v5.10.1 (*) built for i386-freebsd-thread-multi-64int uname -a FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 /usr/obj/usr/src/sys/GENERIC i386
Subject: Module-Name.tar.gz
Download Module-Name.tar.gz
application/x-gzip 1.7k

Message body not shown because it is not plain text.

From: world.mind [...] yahoo.com
May be right way for get module version is using http://search.cpan.org/perldoc?Module::Info
I am closing because I don't think this applies anymore in v1.0.0


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.