PATH=C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\cpanfly-5.24-32\var\megalib\bin;C:\Perl-5.24-32\site\bin;C:\Perl-5.24-32\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\instantclient_11_2-32;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\CMake\bin Start 2016-10-29T10:40:16 ActivePerl-2400 CPAN-2.10 PATH=C:/CPANFL~2.24-/var/libs/bin;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\CPANFL~2.24-\var\megalib\bin;C:\PERL-5~2.24-\site\bin;C:\PERL-5~2.24-\bin;C:\MinGW-32\bin;C:\cygwin\bin;C:\INSTAN~3;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\PROGRA~1\Git\cmd;C:\PROGRA~2\CMake\bin Reading 'C:\cpanfly-5.24-32\var\cpan\Metadata' Database was generated on Sat, 29 Oct 2016 03:53:35 GMT Checksum for C:\cpanfly-5.24-32\var\cpan\sources\authors\id\H\HI\HITODE\App-PRT-0.20.tar.gz ok App-PRT-0.20/Build.PL App-PRT-0.20/Changes App-PRT-0.20/LICENSE App-PRT-0.20/META.json App-PRT-0.20/README.md App-PRT-0.20/cpanfile App-PRT-0.20/lib/App/PRT.pm App-PRT-0.20/lib/App/PRT/CLI.pm App-PRT-0.20/lib/App/PRT/Collector/AllFiles.pm App-PRT-0.20/lib/App/PRT/Collector/FileHandle.pm App-PRT-0.20/lib/App/PRT/Collector/Files.pm App-PRT-0.20/lib/App/PRT/Collector/GitDirectory.pm App-PRT-0.20/lib/App/PRT/Command/AddMethod.pm App-PRT-0.20/lib/App/PRT/Command/AddUse.pm App-PRT-0.20/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.20/lib/App/PRT/Command/IntroduceVariables.pm App-PRT-0.20/lib/App/PRT/Command/MoveClassMethod.pm App-PRT-0.20/lib/App/PRT/Command/RenameClass.pm App-PRT-0.20/lib/App/PRT/Command/RenameNameSpace.pm App-PRT-0.20/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.20/lib/App/PRT/Util/DestinationFile.pm App-PRT-0.20/minil.toml App-PRT-0.20/script/prt App-PRT-0.20/t/App-PRT-CLI.t App-PRT-0.20/t/App-PRT-Collector-AllFiles.t App-PRT-0.20/t/App-PRT-Collector-FileHandle.t App-PRT-0.20/t/App-PRT-Collector-Files.t App-PRT-0.20/t/App-PRT-Command-AddMethod.t App-PRT-0.20/t/App-PRT-Command-AddUse.t App-PRT-0.20/t/App-PRT-Command-DeleteMethod.t App-PRT-0.20/t/App-PRT-Command-IntroduceVariables.t App-PRT-0.20/t/App-PRT-Command-MoveClassMethod.t App-PRT-0.20/t/App-PRT-Command-RenameClass.t App-PRT-0.20/t/App-PRT-Command-RenameNameSpace.t App-PRT-0.20/t/App-PRT-Command-ReplaceToken.t App-PRT-0.20/t/App-PRT-Util-DestinationFile.t App-PRT-0.20/t/App-PRT.t App-PRT-0.20/t/App-Prt-Collector-GitDirectory.t App-PRT-0.20/t/data/contain_ignores/_build/Build.pm App-PRT-0.20/t/data/contain_ignores/app.psgi App-PRT-0.20/t/data/contain_ignores/blib/Blib.pm App-PRT-0.20/t/data/contain_ignores/cpanfile App-PRT-0.20/t/data/contain_ignores/eg/eg.pl App-PRT-0.20/t/data/contain_ignores/fatlib/Fatlib.pm App-PRT-0.20/t/data/contain_ignores/lib/Foo.pm App-PRT-0.20/t/data/contain_ignores/lib/Foo/Bar.pm App-PRT-0.20/t/data/contain_ignores/local/Local.pm App-PRT-0.20/t/data/contain_ignores/share/share.pl App-PRT-0.20/t/data/contain_ignores/t/test.t App-PRT-0.20/t/data/dinner/dinner.pl App-PRT-0.20/t/data/dinner/lib/My/Food.pm App-PRT-0.20/t/data/dinner/lib/My/Human.pm App-PRT-0.20/t/data/dinner/lib/Your/Food.pm App-PRT-0.20/t/data/dinner/t/001-my-food._t App-PRT-0.20/t/data/dinner/t/My-Food._t App-PRT-0.20/t/data/greeting/lib/Bye.pm App-PRT-0.20/t/data/greeting/lib/Greeting.pm App-PRT-0.20/t/data/greeting/lib/Hi.pm App-PRT-0.20/t/data/greeting/no_use.pl App-PRT-0.20/t/data/greeting/no_use_but_package.pl App-PRT-0.20/t/data/greeting/use_greeting.pl App-PRT-0.20/t/data/greeting/use_greeting_and_hi.pl App-PRT-0.20/t/data/hello_world/hello_world.pl App-PRT-0.20/t/data/inherit/inherit.pl App-PRT-0.20/t/data/method_call_with_whitespace/hello.pl App-PRT-0.20/t/data/method_with_comment/FoodWithComment.pm App-PRT-0.20/t/data/package_in_block/multi_packages.pl App-PRT-0.20/t/data/package_in_block/package_block_statement.pl App-PRT-0.20/t/data/package_in_block/package_in_block.pl App-PRT-0.20/t/data/readme/README.md App-PRT-0.20/t/test.pm App-PRT-0.20/t/test.t App-PRT-0.20/xt/perlcritic.t App-PRT-0.20/xt/perlcriticrc App-PRT-0.20/META.yml App-PRT-0.20/MANIFEST Configuring H/HI/HITODE/App-PRT-0.20.tar.gz with Build.PL >>> C:\Perl-5.24-32\bin\perl.exe Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-PRT' version '0.20' cp META.json MYMETA.json cp META.yml MYMETA.yml HITODE/App-PRT-0.20.tar.gz C:\Perl-5.24-32\bin\perl.exe Build.PL -- OK Running Build for H/HI/HITODE/App-PRT-0.20.tar.gz >>> C:\Perl-5.24-32\bin\perl.exe ./Build Building App-PRT HITODE/App-PRT-0.20.tar.gz C:\Perl-5.24-32\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl-5.24-32\bin\perl.exe ./Build test verbose=1 # Failed test 'parse' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) # Checking class of (Part 1 of 2 in $data) with isa() # got : App::PRT::Collector::GitDirectory=HASH(0x3214924) # expect : blessed into or ref of type 'App::PRT::Collector::AllFiles' # Looks like you failed 1 test of 2. # Failed test 'when command specified, not a git directory' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value_regex] --add add a new variable: name value --unset remove a variable: name [value-regex] --unset-all remove all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup # Failed test 'parse' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) # Checking class of (Part 1 of 2 in $data) with isa() # got : App::PRT::Collector::GitDirectory=HASH(0x32fd254) # expect : blessed into or ref of type 'App::PRT::Collector::AllFiles' # Looks like you failed 1 test of 2. # Failed test 'when target ' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) # Failed test 'parse' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) # undef # doesn't match '(?^:Cannot decide target files)' # Looks like you failed 1 test of 1. # Failed test 'when neither git directory or project root directory detected' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::CLI->parse) # Looks like your test exited with 33024 just after 17. t\App-PRT-CLI.t ......................... ok 1 - use App::PRT::CLI; ok 2 - ucfirst ok 3 - separate by _ # Subtest: alias ok 1 - rename_namespace is alias for rename_name_space. Namespace is not name space 1..1 ok 4 - alias ok 5 - An object of class 'App::PRT::CLI' isa 'App::PRT::CLI' # Subtest: when empty input ok 1 - parse 1..1 ok 6 - when empty input # Subtest: when command specified, not a git directory ok 1 - ReplaceToken command loaded not ok 2 - parse 1..2 not ok 7 - when command specified, not a git directory # Subtest: when command specified, git directory ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 8 - when command specified, git directory # Subtest: when source, destination, target files specified ok 1 - ReplaceToken command loaded and foo => bar registered ok 2 - Files collector loaded and files are registered 1..2 ok 9 - when source, destination, target files specified # Subtest: when target ok 1 - ReplaceToken command loaded not ok 2 - parse 1..2 not ok 10 - when target # Subtest: when neither git directory or project root directory detected not ok 1 - parse 1..1 not ok 11 - when neither git directory or project root directory detected # Subtest: when invalid command specified ok 1 - parse 1..1 ok 12 - when invalid command specified # Subtest: when input is the pipe ok 1 - parse 1..1 ok 13 - when input is the pipe # Subtest: command which can execute ok 1 - execute called ok 2 - called with file 1..2 ok 14 - command which can execute # Subtest: command which can execute_files ok 1 - execute_files called ok 2 - called with files 1..2 ok 15 - command which can execute_files ok 16 - set io ok 17 - set io 1..17 Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/17 subtests t\App-PRT-Collector-AllFiles.t .......... ok 1 - use App::PRT::Collector::AllFiles; ok 2 - all files are returned # Subtest: not existing directory ok 1 - collect 1..1 ok 3 - not existing directory # Subtest: directory without cpanfile ok 1 - not found 1..1 ok 4 - directory without cpanfile # Subtest: directory with cpanfile ok 1 - found from root directory ok 2 - found from sub directory 1..2 ok 5 - directory with cpanfile # Subtest: not existing directory ok 1 - find project root directory 1..1 ok 6 - not existing directory ok 7 - An object of class 'App::PRT::Collector::AllFiles' isa 'App::PRT::Collector::AllFiles' ok 8 - instantiate 1..8 ok t\App-PRT-Collector-FileHandle.t ........ ok 1 - use App::PRT::Collector::FileHandle; ok 2 - collect ok 3 - An object of class 'App::PRT::Collector::FileHandle' isa 'App::PRT::Collector::FileHandle' 1..3 ok t\App-PRT-Collector-Files.t ............. ok 1 - use App::PRT::Collector::Files; # Subtest: when files specified ok 1 - collect 1..1 ok 2 - when files specified # Subtest: when not existing file specified ok 1 - died 1..1 ok 3 - when not existing file specified ok 4 - specified files are returned ok 5 - An object of class 'App::PRT::Collector::Files' isa 'App::PRT::Collector::Files' 1..5 ok t\App-PRT-Command-AddMethod.t ........... ok 1 - use App::PRT::Command::AddMethod; # Subtest: target file ok 1 - sub one added to last 1..1 ok 2 - target file # Subtest: target file ok 1 - sub one added to last 1..1 ok 3 - target file ok 4 - An object of class 'App::PRT::Command::AddMethod' isa 'App::PRT::Command::AddMethod' ok 5 - register 1..5 ok t\App-PRT-Command-AddUse.t .............. ok 1 - use App::PRT::Command::AddUse; # Subtest: script with use statement, not using Hi ok 1 - File exists ok 2 - Hi was added 1..2 ok 2 - script with use statement, not using Hi # Subtest: script, already using Hi ok 1 - File exists ok 2 - Hi was not added 1..2 ok 3 - script, already using Hi # Subtest: script without any use, but with package statement ok 1 - File exists ok 2 - Hi was added after package statement 1..2 ok 4 - script without any use, but with package statement ok 5 - An object of class 'App::PRT::Command::AddUse' isa 'App::PRT::Command::AddUse' # Subtest: package ok 1 - register 1..1 ok 6 - package # Subtest: package and arguments ok 1 - register 1..1 ok 7 - package and arguments 1..7 ok t\App-PRT-Command-DeleteMethod.t ........ ok 1 - use App::PRT::Command::DeleteMethod; # Subtest: target file ok 1 - execute ok 2 - name removed ok 3 - deleted code stored 1..3 ok 2 - target file # Subtest: another file ok 1 - execute ok 2 - nothing happen 1..2 ok 3 - another file ok 4 - comment before method was deleted ok 5 - another comment was not deleted because previous token of sub name is whitespace ok 6 - An object of class 'App::PRT::Command::DeleteMethod' isa 'App::PRT::Command::DeleteMethod' # Subtest: when class and method specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 7 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 8 - when arguments are not enough ok 9 - register ok 10 - register 1..10 ok t\App-PRT-Command-IntroduceVariables.t .. ok 1 - use App::PRT::Command::IntroduceVariables; ok 2 - collect variables ok 3 - variables introduces ok 4 - An object of class 'App::PRT::Command::IntroduceVariables' isa 'App::PRT::Command::IntroduceVariables' 1..4 ok t\App-PRT-Command-MoveClassMethod.t ..... ok 1 - use App::PRT::Command::MoveClassMethod; ok 2 - source file exists ok 3 - use was Added, $class->good was replaced # Subtest: client script with use Greeting ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, use Hi was added 1..2 ok 4 - client script with use Greeting # Subtest: client script with use Greeting and Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was not added 1..2 ok 5 - client script with use Greeting and Hi # Subtest: client script without Greeting or Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after last use 1..2 ok 6 - client script without Greeting or Hi # Subtest: client script without Greeting or Hi, with package statement ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after package statement 1..2 ok 7 - client script without Greeting or Hi, with package statement ok 8 - README exists ok 9 - File exists ok 10 - hi method was removed ok 11 - method body stored ok 12 - destination method prepared ok 13 - destination file exists ok 14 - hello method was added, use GoodAfternoon was added because it may be necessary ok 15 - source file exists ok 16 - destination file exists ok 17 - hello was added, uses are copied ok 18 - destination file exists ok 19 - method and comment was added ok 20 - An object of class 'App::PRT::Command::MoveClassMethod' isa 'App::PRT::Command::MoveClassMethod' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse arguments ok 4 - parse arguments ok 5 - parse_arguments returns rest arguments 1..5 ok 21 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 22 - when arguments are not enough # Subtest: valid rule ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 23 - valid rule # Subtest: when destination method name is same ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 24 - when destination method name is same # Subtest: invalid syntax ok 1 - (?^:invalid format) ok 2 - (?^:invalid format) 1..2 ok 25 - invalid syntax 1..25 ok # Failed test 'returns destination file when success' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Command::RenameClass->execute) # got: 'C:\cpanfly-5.24-32\var\tmp\YmgK709eGh\lib\My\Meal.pm' # expected: 'C:\cpanfly-5.24-32\var\tmp\YmgK709eGh/lib/My/Meal.pm' # Looks like you failed 1 test of 4. # Failed test 'target class' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Command::RenameClass->execute) # Failed test 'success' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) # got: 'C:\cpanfly-5.24-32\var\tmp\rtddb9lLuD\lib\My\Special\Great\Food.pm' # expected: 'C:\cpanfly-5.24-32\var\tmp\rtddb9lLuD/lib/My/Special/Great/Food.pm' # Looks like you failed 1 test of 3. # Failed test 'target class' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) # Looks like you failed 2 tests of 18. t\App-PRT-Command-RenameClass.t ......... ok 1 - use App::PRT::Command::RenameClass; # Subtest: target class not ok 1 - returns destination file when success ok 2 - Food.pm doesn't exists ok 3 - Meal.pm exists ok 4 - package statement was rewritten 1..4 not ok 2 - target class # Subtest: client file ok 1 - returns source file when success and not moved ok 2 - dinner.pl exists ok 3 - use statement and class-method invocation were rewritten 1..3 ok 3 - client file ok 4 - README exists # Subtest: { package } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 5 - { package } style # Subtest: package { } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 6 - package { } style # Subtest: multi packages ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 7 - multi packages # Subtest: target class not ok 1 - success ok 2 - Food.pm doesn't exists ok 3 - Special::Great::Food.pm exists 1..3 not ok 8 - target class ok 9 - Food._t doesn't exists ok 10 - Meal._t exists ok 11 - package statement replaced ok 12 - test replaced # Subtest: target class ok 1 - script file exists ok 2 - use parent, use base statements were rewritten 1..2 ok 13 - target class ok 14 - An object of class 'App::PRT::Command::RenameClass' isa 'App::PRT::Command::RenameClass' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 15 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 16 - when arguments are not enough ok 17 - register rule ok 18 - register rule 1..18 Dubious, test returned 2 (wstat 512, 0x200) Failed 2/18 subtests t\App-PRT-Command-RenameNameSpace.t ..... ok 1 - use App::PRT::Command::RenameNameSpace; ok 2 - classes under My:: are collected ok 3 - converted ok 4 - not match ok 5 - not match ok 6 - script exists ok 7 - My:: was moved to Our:: ok 8 - My::Food doesn't exist ok 9 - My::Human doesn't exist ok 10 - Our::Food exist ok 11 - Our::Human exist ok 12 - target class replaced ok 13 - not changed ok 14 - An object of class 'App::PRT::Command::RenameNameSpace' isa 'App::PRT::Command::RenameNameSpace' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 15 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 16 - when arguments are not enough ok 17 - register rule ok 18 - register rule 1..18 ok t\App-PRT-Command-ReplaceToken.t ........ ok 1 - use App::PRT::Command::ReplaceToken; # Subtest: nothing happen when no rules are specified ok 1 - fails ok 2 - nothing changed 1..2 ok 2 - nothing happen when no rules are specified # Subtest: tokens will be replaced when a rules is specified ok 1 - success ok 2 - changed 1..2 ok 3 - tokens will be replaced when a rules is specified ok 4 - README exists ok 5 - execute replace token sequences ok 6 - new( in statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - execute with replace only statement which has token 1..1 ok 7 - only statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - target is `my ($class, $name) = @_;`, not subroutine 1..1 ok 8 - only statement with My::Food was replaced ok 9 - all hello are replaced ok 10 - An object of class 'App::PRT::Command::ReplaceToken' isa 'App::PRT::Command::ReplaceToken' # Subtest: when source and destination specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 11 - when source and destination specified # Subtest: when source, destination, and --in-statement specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 12 - when source, destination, and --in-statement specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 13 - when arguments are not enough # Subtest: single token ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 14 - single token # Subtest: multi tokens ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 15 - multi tokens # Subtest: replace_only_statement_which_has_token ok 1 - register rules ok 2 - register rules 1..2 ok 16 - replace_only_statement_which_has_token 1..16 ok # Failed test 'without directory' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with directory' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with extname' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.txt' # expected: './Bar.txt' # Failed test 'move deeper' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bazz.pm' # expected: 'Foo/Bazz.pm' # Failed test 'move lighter' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bar.pm' # expected: 'Foo/Bar.pm' # Failed test 'absolute path' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: '\tmp\lib\Foo\Bar.pm' # expected: '/tmp/lib/Foo/Bar.pm' # Failed test 't/lib' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\lib\Test\Foo\Bar.pm' # expected: 't/lib/Test/Foo/Bar.pm' # Failed test 'test file' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\Bar.t' # expected: 't/Bar.t' # Failed test 'separated with -, _' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D-E_F.pm' # expected: './D-E_F.pm' # Failed test 'separated with -, _, move deeper' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B-C-D.pm' # expected: './A-B-C-D.pm' # Failed test 'separated with -, _, move lighter' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B.pm' # expected: './A-B.pm' # Failed test 'separated with -, _, mixed with directory' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D\E-F-G.pm' # expected: 'D/E-F-G.pm' # Looks like you failed 12 tests of 13. t\App-PRT-Util-DestinationFile.t ........ ok 1 - use App::PRT::Util::DestinationFile; not ok 2 - without directory not ok 3 - with directory not ok 4 - with extname not ok 5 - move deeper not ok 6 - move lighter not ok 7 - absolute path not ok 8 - t/lib not ok 9 - test file not ok 10 - separated with -, _ not ok 11 - separated with -, _, move deeper not ok 12 - separated with -, _, move lighter not ok 13 - separated with -, _, mixed with directory 1..13 Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/13 subtests t\App-PRT.t ............................. ok 1 - use App::PRT; ok 2 - welcome 1..2 ok usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value_regex] --add add a new variable: name value --unset remove a variable: name [value-regex] --unset-all remove all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup # Failed test 'all files in directory are returned' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::Prt::Collector::GitDirectory->collect) # Comparing $data as a Bag # Missing: 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/dinner.pl', 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/lib/My/Food.pm', 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/lib/My/Human.pm', 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/lib/Your/Food.pm', 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/t/001-my-food._t', 'C:\cpanfly-5.24-32\var\tmp\I0Aq0D24m_/t/My-Food._t' # Failed test 'not a git directory' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::Prt::Collector::GitDirectory->find_git_root_directory) # got: 'C:\cpanfly-5.24-32' # expected: undef usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value_regex] --add add a new variable: name value --unset remove a variable: name [value-regex] --unset-all remove all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value_regex] --add add a new variable: name value --unset remove a variable: name [value-regex] --unset-all remove all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup # Failed test 'collector can collect' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'C:\cpanfly-5.24-32\var\tmp\1tF_jwS2_7/hello_world.pl' # Looks like you failed 1 test of 3. # Failed test 'can initialize with git repository' # at C:\cpanfly-5.24-32\var\megalib/Test/Builder.pm line 135. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Looks like you failed 3 tests of 10. t\App-Prt-Collector-GitDirectory.t ...... ok 1 - use App::PRT::Collector::GitDirectory; not ok 2 - all files in directory are returned # Subtest: when not a git directory ok 1 - collect 1..1 ok 3 - when not a git directory not ok 4 - not a git directory ok 5 - find from root directory ok 6 - find from sub directory ok 7 - dies when not existing directory ok 8 - directory required ok 9 - existing directory required # Subtest: can initialize with git repository ok 1 - An object of class 'App::PRT::Collector::GitDirectory' isa 'App::PRT::Collector::GitDirectory' ok 2 - collector has directory not ok 3 - collector can collect 1..3 not ok 10 - can initialize with git repository 1..10 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/10 subtests t\data\contain_ignores\t\test.t ......... ok 1 - dummy 1..1 ok usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value_regex] --add add a new variable: name value --unset remove a variable: name [value-regex] --unset-all remove all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup # Looks like your test exited with 33024 just after 3. t\test.t ................................ ok 1 - .git directory exists # Subtest: valid input ok 1 - prepare test code ok 2 - directory exists ok 3 - hello_world.pl exists 1..3 ok 2 - valid input # Subtest: valid input ok 1 - dies when specified code is not prepared 1..1 ok 3 - valid input 1..3 Dubious, test returned 255 (wstat 65280, 0xff00) All 3 subtests passed Test Summary Report ------------------- t\App-PRT-CLI.t (Wstat: 65280 Tests: 17 Failed: 3) Failed tests: 7, 10-11 Non-zero exit status: 255 t\App-PRT-Command-RenameClass.t (Wstat: 512 Tests: 18 Failed: 2) Failed tests: 2, 8 Non-zero exit status: 2 t\App-PRT-Util-DestinationFile.t (Wstat: 3072 Tests: 13 Failed: 12) Failed tests: 2-13 Non-zero exit status: 12 t\App-Prt-Collector-GitDirectory.t (Wstat: 768 Tests: 10 Failed: 3) Failed tests: 2, 4, 10 Non-zero exit status: 3 t\test.t (Wstat: 65280 Tests: 3 Failed: 0) Non-zero exit status: 255 Files=17, Tests=165, 12 wallclock secs ( 0.19 usr + 0.03 sys = 0.22 CPU) Result: FAIL Failed 5/17 test programs. 20/165 subtests failed. HITODE/App-PRT-0.20.tar.gz C:\Perl-5.24-32\bin\perl.exe ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HITODE/App-PRT-0.20.tar.gz Finished 2016-10-29T10:40:40