[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test::Dependencies output



Hi all,

The other day I found the Test::Dependencies module on CPAN; I decided to have a go an run it on our code base. From the output (see below), we could conclude our Makefile.PL is all but complete. There are 45 errors and 100 tests. Should we use Test::Dependencies to verify that we stay strict on our Makefile.PL management, or is the output below nonesense?


 This is the result:

ehuelsmann@jessie-lsmb:~/LedgerSMB$ perl -Ilib t/00-dependencies.t
ok 1 - META.yml is present and readable
not ok 2 - requires('App::LedgerSMB::Admin::Database') in Makefile.PL
#   Failed test 'requires('App::LedgerSMB::Admin::Database') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 3 - requires('CGI::Emulate::PSGI') in Makefile.PL
#   Failed test 'requires('CGI::Emulate::PSGI') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 4 - requires('CGI::Simple') in Makefile.PL
not ok 5 - requires('CGI::Simple::Standard') in Makefile.PL
#   Failed test 'requires('CGI::Simple::Standard') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 6 - run-time dependency 'Carp' has been in core since before 5.8.3
ok 7 - requires('Config::IniFiles') in Makefile.PL
ok 8 - run-time dependency 'Cwd' has been in core since before 5.8.3
ok 9 - requires('DBD::Pg') in Makefile.PL
ok 10 - requires('DBI') in Makefile.PL
ok 11 - run-time dependency 'Data::Dumper' has been in core since before 5.8.3
ok 12 - requires('DateTime') in Makefile.PL
ok 13 - requires('DateTime::Format::Strptime') in Makefile.PL
ok 14 - run-time dependency 'Digest::MD5' has been in core since before 5.8.3
not ok 15 - requires('Digest::SHA') in Makefile.PL
#   Failed test 'requires('Digest::SHA') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 16 - run-time dependency 'Encode' has been in core since before 5.8.3
ok 17 - run-time dependency 'File::Copy' has been in core since before 5.8.3
ok 18 - requires('File::MimeInfo') in Makefile.PL
ok 19 - run-time dependency 'FindBin' has been in core since before 5.8.3
ok 20 - requires('JSON') in Makefile.PL
ok 21 - run-time dependency 'List::Util' has been in core since before 5.8.3
ok 22 - run-time dependency 'Locale::Country' has been in core since before 5.8.3
ok 23 - run-time dependency 'Locale::Language' has been in core since before 5.8.3
ok 24 - run-time dependency 'Locale::Maketext' has been in core since before 5.8.3
ok 25 - requires('Locale::Maketext::Lexicon') in Makefile.PL
ok 26 - requires('Log::Log4perl') in Makefile.PL
ok 27 - run-time dependency 'MIME::Base64' has been in core since before 5.8.3
ok 28 - requires('MIME::Lite') in Makefile.PL
ok 29 - run-time dependency 'Math::BigFloat' has been in core since before 5.8.3
ok 30 - requires('Module::Runtime') in Makefile.PL
ok 31 - requires('Moose') in Makefile.PL
not ok 32 - requires('Moose::Role') in Makefile.PL
#   Failed test 'requires('Moose::Role') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 33 - requires('Moose::Util::TypeConstraints') in Makefile.PL
#   Failed test 'requires('Moose::Util::TypeConstraints') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 34 - requires('Number::Format') in Makefile.PL
not ok 35 - requires('OpenOffice::OODoc') in Makefile.PL
#   Failed test 'requires('OpenOffice::OODoc') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 36 - requires('OpenOffice::OODoc::Styles') in Makefile.PL
#   Failed test 'requires('OpenOffice::OODoc::Styles') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 37 - requires('PGObject') in Makefile.PL
ok 38 - requires('PGObject::Simple') in Makefile.PL
ok 39 - requires('PGObject::Type::BigFloat') in Makefile.PL
ok 40 - requires('PGObject::Type::DateTime') in Makefile.PL
ok 41 - requires('PGObject::Util::DBMethod') in Makefile.PL
ok 42 - requires('Path::Class') in Makefile.PL
ok 43 - requires('TeX::Encode') in Makefile.PL
ok 44 - requires('Template') in Makefile.PL
not ok 45 - requires('Template::Latex') in Makefile.PL
#   Failed test 'requires('Template::Latex') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 46 - run-time dependency 'Time::Local' has been in core since before 5.8.3
not ok 47 - requires('Try::Tiny') in Makefile.PL
#   Failed test 'requires('Try::Tiny') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 48 - requires('X12::Parser') in Makefile.PL
#   Failed test 'requires('X12::Parser') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 49 - requires('XML::Simple') in Makefile.PL
not ok 50 - requires('XML::Twig') in Makefile.PL
#   Failed test 'requires('XML::Twig') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 51 - run-time dependency 'base' has been in core since before 5.8.3
ok 52 - run-time dependency 'charnames' has been in core since before 5.8.3
not ok 53 - requires('feature') in Makefile.PL
#   Failed test 'requires('feature') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 54 - requires('namespace::autoclean') in Makefile.PL
ok 55 - run-time dependency 'open' has been in core since before 5.8.3
ok 56 - run-time dependency 'overload' has been in core since before 5.8.3
ok 57 - run-time dependency 'strict' has been in core since before 5.8.3
ok 58 - run-time dependency 'utf8' has been in core since before 5.8.3
ok 59 - run-time dependency 'warnings' has been in core since before 5.8.3
ok 60 - build-time dependency 'Exporter' has been in core since before 5.8.3
ok 61 - build-time dependency 'File::Find' has been in core since before 5.8.3
ok 62 - build-time dependency 'File::Spec' has been in core since before 5.8.3
not ok 63 - build_requires('PageObject') in Makefile.PL
#   Failed test 'build_requires('PageObject') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 64 - build_requires('PageObject::App') in Makefile.PL
#   Failed test 'build_requires('PageObject::App') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 65 - build_requires('PageObject::App::Initial') in Makefile.PL
#   Failed test 'build_requires('PageObject::App::Initial') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 66 - build_requires('PageObject::App::Login') in Makefile.PL
#   Failed test 'build_requires('PageObject::App::Login') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 67 - build_requires('PageObject::App::Main') in Makefile.PL
#   Failed test 'build_requires('PageObject::App::Main') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 68 - build_requires('PageObject::App::Menu') in Makefile.PL
#   Failed test 'build_requires('PageObject::App::Menu') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 69 - build_requires('PageObject::App::Search') in Makefile.PL
#   Failed test 'build_requires('PageObject::App::Search') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 70 - build_requires('PageObject::Driver') in Makefile.PL
#   Failed test 'build_requires('PageObject::Driver') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 71 - build_requires('PageObject::Setup::Admin') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::Admin') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 72 - build_requires('PageObject::Setup::CreateConfirm') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::CreateConfirm') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 73 - build_requires('PageObject::Setup::CreateUser') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::CreateUser') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 74 - build_requires('PageObject::Setup::EditUser') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::EditUser') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 75 - build_requires('PageObject::Setup::OperationConfirmation') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::OperationConfirmation') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 76 - build_requires('PageObject::Setup::UsersList') in Makefile.PL
#   Failed test 'build_requires('PageObject::Setup::UsersList') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 77 - build_requires('PageObject::WebElement') in Makefile.PL
#   Failed test 'build_requires('PageObject::WebElement') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 78 - build_requires('PageObject::WebElement::DropDown') in Makefile.PL
#   Failed test 'build_requires('PageObject::WebElement::DropDown') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 79 - build_requires('Perl::Critic') in Makefile.PL
not ok 80 - build_requires('Selenium::Remote::Driver') in Makefile.PL
#   Failed test 'build_requires('Selenium::Remote::Driver') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 81 - build_requires('Selenium::Support') in Makefile.PL
#   Failed test 'build_requires('Selenium::Support') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 82 - build_requires('Selenium::Waiter') in Makefile.PL
#   Failed test 'build_requires('Selenium::Waiter') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 83 - build_requires('Test::BDD::Cucumber::Extension') in Makefile.PL
#   Failed test 'build_requires('Test::BDD::Cucumber::Extension') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 84 - build_requires('Test::BDD::Cucumber::Harness::TestBuilder') in Makefile.PL
#   Failed test 'build_requires('Test::BDD::Cucumber::Harness::TestBuilder') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 85 - build_requires('Test::BDD::Cucumber::Loader') in Makefile.PL
#   Failed test 'build_requires('Test::BDD::Cucumber::Loader') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 86 - build_requires('Test::BDD::Cucumber::StepFile') in Makefile.PL
#   Failed test 'build_requires('Test::BDD::Cucumber::StepFile') in Makefile.PL'
#   at t/00-dependencies.t line 7.
not ok 87 - build_requires('Test::Dependencies') in Makefile.PL
#   Failed test 'build_requires('Test::Dependencies') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 88 - build_requires('Test::Exception') in Makefile.PL
ok 89 - build-time dependency 'Test::More' has been in core since before 5.8.3
ok 90 - build_requires('Test::Trap') in Makefile.PL
ok 91 - build-time dependency 'Time::HiRes' has been in core since before 5.8.3
not ok 92 - build_requires('YAML::Syck') in Makefile.PL
#   Failed test 'build_requires('YAML::Syck') in Makefile.PL'
#   at t/00-dependencies.t line 7.
ok 93 - build-time dependency 'lib' has been in core since before 5.8.3
not ok 94 - App::LedgerSMB::Admin is not a run-time dependency
#   Failed test 'App::LedgerSMB::Admin is not a run-time dependency'
#   at t/00-dependencies.t line 7.
not ok 95 - Carp::Always is not a run-time dependency
#   Failed test 'Carp::Always is not a run-time dependency'
#   at t/00-dependencies.t line 7.
not ok 96 - PGObject::Simple::Role is not a run-time dependency
#   Failed test 'PGObject::Simple::Role is not a run-time dependency'
#   at t/00-dependencies.t line 7.
not ok 97 - PGObject::Util::DBAdmin is not a run-time dependency
#   Failed test 'PGObject::Util::DBAdmin is not a run-time dependency'
#   at t/00-dependencies.t line 7.
not ok 98 - Template::Plugin::Latex is not a run-time dependency
#   Failed test 'Template::Plugin::Latex is not a run-time dependency'
#   at t/00-dependencies.t line 7.
not ok 99 - ExtUtils::MakeMaker is not a build-time dependency
#   Failed test 'ExtUtils::MakeMaker is not a build-time dependency'
#   at t/00-dependencies.t line 7.
not ok 100 - Test::BDD::Cucumber is not a build-time dependency
#   Failed test 'Test::BDD::Cucumber is not a build-time dependency'
#   at t/00-dependencies.t line 7.
1..100
# Looks like you failed 45 tests of 100.





--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel