Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 48687
Status: resolved
Priority: 0/
Queue: Module-Starter

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

Bug Information
Severity: Normal
Broken in:
  • 1.50
  • 1.52
Fixed in: (no value)



Subject: Move generated t/boilerplate.t to xt/
Authors tests (which are not distributed) should be stored in 'xt' directory (extra tests). xt/ is automatically added to tests by current versions of build tools. xt/ must be ignored from MANIFEST. boilerplate.t is such an author test. For more information about extra tests: http://use.perl.org/~Alias/journal/38822
t/boilerplate.t should never be put into the distro. It is for the author's use only and should be thrown away once it passes.
Le Jeu. Aoû. 13 12:52:07 2009, PETDANCE a écrit : Show quoted text
> t/boilerplate.t should never be put into the distro. It is for the > author's use only and should be thrown away once it passes.
I agree. However it may not be obvious, in particular to people for which english is not the native language ("boilerplate" is not a common word). So it would be helpful if your comment above was present at the beginning of the file. Also boilerplate.t is not in the MANIFEST that M::S creates, but it will automatically added by Module::Build when the author runs "Build manifest" (I know that moving to xt/ will not fix that, but at least it is more explicit): Try this: $ module-starter --mb --module=Foo::Bar --author="Andy Lester" --email=andy@petdance.com $ perl Build.PL $ ./Build manifest
This issue has been copied to: https://github.com/xsawyerx/module-starter/issues/28. Please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with. On Fri Aug 14 11:12:30 2009, DOLMEN wrote: Show quoted text
> Le Jeu. Aoû. 13 12:52:07 2009, PETDANCE a écrit :
> > t/boilerplate.t should never be put into the distro. It is for the > > author's use only and should be thrown away once it passes.
> > I agree. However it may not be obvious, in particular to people for > which english is not the native language ("boilerplate" is not a common > word). > So it would be helpful if your comment above was present at the > beginning of the file. > > Also boilerplate.t is not in the MANIFEST that M::S creates, but it will > automatically added by Module::Build when the author runs "Build > manifest" (I know that moving to xt/ will not fix that, but at least it > is more explicit): > > Try this: > $ module-starter --mb --module=Foo::Bar --author="Andy Lester" > --email=andy@petdance.com > $ perl Build.PL > $ ./Build manifest
Resolved.