Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-PortabilityTests CPAN distribution.

Report information
The Basics
Id: 69581
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-PortabilityTests

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.111840
Fixed in: (no value)



Subject: options are ignored
The options line isn't inserted in the generated test file because $file->name has changed from 'xt/release/portability.t' to 't/release-portability.t'. Using $file->added_by instead of ->name is better, but the ideal solution according to rjbs would be to use the FileGatherer role instead of the FileMunger and build the contents for the test file from scratch.
On Tue Jul 19 12:10:06 2011, ABRAXXA wrote: Show quoted text
> The options line isn't inserted in the generated test file because > $file->name has changed from 'xt/release/portability.t' to > 't/release-portability.t'. > > Using $file->added_by instead of ->name is better, but the ideal > solution according to rjbs would be to use the FileGatherer role
instead Show quoted text
> of the FileMunger and build the contents for the test file from
scratch. I believe the immediate problem was solved, but I would be interested to explore the idiom rjbs suggests.