Skip Menu |

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

Report information
The Basics
Id: 83269
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Test-Compile

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

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 2.011



Subject: DZPTC dist does not build from the version in dev
When building the plugin from the repository at https://github.com/jquelin/dist-zilla-plugin-test-compile the distribution is not built using the This makes harder to discover bugs as the t/00-compile.t built with "dzil build" is not built from lib/Dist/Zilla/Plugin/Test/Compile.pm, but instead by the installed version of DZPTC. It would be simpler for contributors if the dist.ini was using [Bootstrap::lib] -- Olivier Mengué - http://perlresume.org/DOLMEN
On 2013-02-11 09:44:42, DOLMEN wrote: Show quoted text
> When building the plugin from the repository at > https://github.com/jquelin/dist-zilla-plugin-test-compile the > distribution is not built using the > This makes harder to discover bugs as the t/00-compile.t built with > "dzil build" is not built from lib/Dist/Zilla/Plugin/Test/Compile.pm, > but instead by the installed version of DZPTC. > > It would be simpler for contributors if the dist.ini was using > [Bootstrap::lib]
What would be better is if the dist could test itself -- i.e. had unit tests :) It could also have a pre-generated compile test that was committed in the repository, rather than relying solely on generating a compile test for itself.
While the dist doesn't use itself (the new version) to test itself, t/test-compile.t does run the generated test and check that things work well -- this is less complicated and error-prone than [bootstrap::lib].