Skip Menu |

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

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

People
Owner: ether [...] cpan.org
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Randomize loading order
Loading a module usually has side effects such as loading other modules. Some modules may have a missing 'use' statement that is not visible if another previously loaded module has already loaded the dependency. Test::Compile currently use a fixed order (alaphabetic sorted), so it may hide some problems. A randomized load ordering would help to detect such cases. -- Olivier Mengué - http://perlresume.org/DOLMEN
On 2012-05-04 03:19:40, DOLMEN wrote: Show quoted text
> Loading a module usually has side effects such as loading other modules. > Some modules may have a missing 'use' statement that is not visible if > another previously loaded module has already loaded the dependency. > > Test::Compile currently use a fixed order (alaphabetic sorted), so it > may hide some problems. > > A randomized load ordering would help to detect such cases.
I don't see how the ordering should matter, given that a new perl is used to load each file? There should be no interaction between the testing of each module.
Le 2013-07-04 01:20:05, ETHER a écrit :
Show quoted text
> I don't see how the ordering should matter, given that a new perl is
> used to load each file? There should be no interaction between the
> testing of each module.

As a new perl is used, you're right. No interaction is possible.
Closing.

-- 
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/