ovid / test--most Goto Github PK
View Code? Open in Web Editor NEWTest::Most -- The most commonly needed testing functionality in Perl
Test::Most -- The most commonly needed testing functionality in Perl
In version 0.33, none of the prereqs are reported in the META files. This makes it hard for downstream tools like Pinto and MetaCPAN to do the right thing. Also, they report that dynamic_config: 1
but I don't see anything dynamic going on in the Makefile.PL
.
Looking back at version 0.31, it did report the prereqs properly in the META (although it still has the dubious dynamic_config
) so this looks like it was just an oversight in the last release.
Unless I am mistaken, Test::Most appears to export a 'reftype' and 'explain' symbol although this is not documented.
This clashes with Scalar::Util qw(reftype)
if I explicitly want to use that.
use Test::Most;
use Scalar::Util qw(reftype);
Test::Most version 0.37 suffers from the PaxHeader phenomenon described here New tar, paxheaders and installing from CPAN. Im am running perl 5.14.2 on an AIX 7.2 host. Until now I wasn't able to overcome this problem. Are you willing to change the packaging?!
According to https://metacpan.org/release/Test-Most/latest version is 0.37 but there os no git tag for that version here.
At a quick glance, it seems that the code beginning on https://github.com/Ovid/test--most/blob/master/lib/Test/Most.pm#L180 should avoid line 188 but currently it does not.
--> Working on Test::Most
Fetching http://www.cpan.org/authors/id/O/OV/OVID/Test-Most-0.34.tar.gz
-> OK
Unpacking Test-Most-0.34.tar.gz
Entering Test-Most-0.34
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.10)
Configuring Test-Most-0.34
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Test::Most
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Exception::Class 1.14 ... Yes (1.40)
Checking if you have Test::Harness 3.21 ... Yes (3.36)
Checking if you have Test::More 0.88 ... Yes (1.001014)
Checking if you have Test::Differences 0.61 ... Yes (0.64)
Checking if you have Test::Exception 0.31 ... Yes (0.43)
Checking if you have Test::Warn 0.23 ... Yes (0.30)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
Checking if you have Test::Deep 0.106 ... Yes (1.120)
Building and testing Test-Most-0.34
cp lib/Test/Most/Exception.pm blib/lib/Test/Most/Exception.pm
cp lib/Test/Most.pm blib/lib/Test/Most.pm
Manifying 2 pod documents
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
# Testing Test::Most 0.34, Perl 5.010001, /usr/bin/perl
# Exception::Class version is 1.40
# Test::Deep version is 1.120
# Test::Differences version is 0.64
# Test::Exception version is 0.43
# Test::Harness version is 3.36
# Test::More version is 1.001014
# Test::Warn version is 0.30
t/00-load.t ..................... ok
t/bug_duplicate_plan.t .......... ok
t/common.t ...................... ok
t/defer_plan.t .................. ok
t/env_bail.t .................... ok
t/env_die.t ..................... ok
t/exception.t ................... ok
t/exclude_test_modules.t ........ ok
t/exclude_test_symbols.t ........ ok
Data::Dumper::Names 0.03 not found. Use explain() instead of show() at t/explain.t line 34.
Data::Dumper::Names 0.03 not found. Use explain() instead of show() at t/explain.t line 69.
t/explain.t ..................... ok
t/function_bail.t ............... ok
t/function_die.t ................ ok
t/import_bail.t ................. ok
t/import_die.t .................. ok
t/import_strict_and_warnings.t .. ok
# timeit: Time::HiRes not installed
Undefined subroutine &Time::HiRes::gettimeofday called at lib/Test/Most.pm line 188.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/timex.t .......................
Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed
Test Summary Report
-------------------
t/timex.t (Wstat: 65280 Tests: 2 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=16, Tests=87, 1 wallclock secs ( 0.07 usr 0.02 sys + 1.10 cusr 0.10 csys = 1.29 CPU)
Result: FAIL
Failed 1/16 test programs. 0/87 subtests failed.
make: *** [test_dynamic] Error 255
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.