Giter VIP home page Giter VIP logo

test--most's People

Contributors

2shortplanks avatar dmaestro avatar dolmen avatar dsteinbrunner avatar karenetheridge avatar manwar avatar ovid avatar ranguard avatar rwstauner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

test--most's Issues

Prereqs are not reported in META files

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.

Appears to export 'reftype' without being documented

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);

timeit() tests fail if Time::HiRes is not installed

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.