Skip Menu |

This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id: 107808
Status: rejected
Priority: 0/
Queue: Text-CSV_XS

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: Tests Take a Very Long Time To Run / Should Be Made Optional
The installation currently takes nearly 3 minutes. When using `cpanm' you can't even see whether or not the installation hanged. This is especially problematic when distributing your code to users who might not be overly familiar with Perl. I would suggest that long-running tests would be made optional, and run only when EXTENDED_TESTING env var is set (following the Lancaster Consensus: http://bit.ly/1OFzrd1) The 20453 tests in t/70_rt.t seem to be all about testing regressions. I don't think that's needed for all users. There are likely other tests that could be made optional as well. Here's my experience of the install on an average box: $ time cpanm Text::CSV_XS --> Working on Text::CSV_XS Fetching http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-1.20.tgz ... OK Configuring Text-CSV_XS-1.20 ... OK Building and testing Text-CSV_XS-1.20 ... OK Successfully installed Text-CSV_XS-1.20 1 distribution installed real 2m49.607s user 2m45.866s sys 0m1.568s -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]