Subject: | Undeclared dependency Excel::Writer::XLSX |
t/bin/Quiq/Excel/Writer.t fails if Excel::Writer::XLSX is not installed --- so either this module has to be declared as a prerequisite, or the test should be skipped if this module is not installed:
...
# Failed test 'use Quiq::Excel::Writer;'
# at t/bin/Quiq/Excel/Writer.t line 15.
# Tried to use 'Quiq::Excel::Writer'.
# Error: Base class package "Excel::Writer::XLSX" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: ...
.).
# at /home/cpansand/.cpan/build/2019062208/Quiq-1.146-B5WJYr/blib/lib/Quiq/Excel/Writer.pm line 2.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019062208/Quiq-1.146-B5WJYr/blib/lib/Quiq/Excel/Writer.pm line 2.
# Compilation failed in require at /home/cpansand/.cpan/build/2019062208/Quiq-1.146-B5WJYr/blib/lib/Quiq/Test/Class.pm line 736.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019062208/Quiq-1.146-B5WJYr/blib/lib/Quiq/Test/Class.pm line 736.
# Failed test 'Can't locate object method "new" via package "Quiq::Excel::Writer" at t/bin/Quiq/Excel/Writer.t line 34.
# '
# at t/bin/Quiq/Excel/Writer.t line 64.
# Looks like you failed 2 tests of 2.
t/bin/Quiq/Excel/Writer.t .......................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...