Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 14408
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: David_Pitt [...] national.com.au
Cc:
AdminCc:

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



Subject: Test::Harness ticket 13141
To: bug-test-harness [...] rt.cpan.org
CC: andy [...] petdance.com
From: David_Pitt [...] national.com.au
Date: Fri, 2 Sep 2005 12:10:48 +1000
Hi Andy, Congrats on your brilliant module and 'prove' tool. I updated CPAN bug ticket 13141 to suggest that tests should be run in sorted order by default: Sorted should be the default behaviour - if you don't want sorted you can use --shuffle option. Suggest the following patch: *** /opt/local/perl/bin/prove Tue Jul 19 12:22:37 2005 --- /tmp/prove Fri Sep 2 11:56:35 2005 *************** *** 114,120 **** warn "$start: $!\n"; } ! return @hits; } sub shuffle { --- 114,120 ---- warn "$start: $!\n"; } ! return sort @hits; } sub shuffle { The lack of sorted tests is causing me grief, there are dependencies between tests which I attend to resolve via a naming scheme: (dpitt@tdevs183)/vobs/gcm/src/db/t> prove --dry ./20_cm_update_le_tree.t ./15_cm_engine_prepare.t ./30_cm_risk_summ_compute.t (dpitt@tdevs183)/vobs/gcm/src/db/t> /tmp/prove --dry ./15_cm_engine_prepare.t ./20_cm_update_le_tree.t ./30_cm_risk_summ_compute.t David Pitt | Basel II Technology | National Australia Bank Limited Phone +61 3 8641 2014 | Email david.pitt@national.com.au | Level 6, 500 Bourke Street, Melbourne This email is sent by or on behalf of the named sender identified above. If you do not wish to receive any email marketing material from this person in the future, please forward the contents of this email to unsubscriptions@national.com.au with the word "unsubscribe" in the subject box. If you do not forward the contents of this email with your unsubscription then it may not be able to be implemented. If you wish to unsubscribe from all central email marketing lists used by our business, please forward the contents of this email to unsubscriptions@national.com.au with the message "unsubscribe from all central email marketing lists" in the subject box. If you do not forward the contents of this email with your unsubscription then it may not be able to be implemented. The information contained in this email communication may be confidential. You should only disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of the National Australia Bank Group of companies. Any advice contained in this e-mail has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this e-mail, National Australia Bank Limited recommends that you consider whether it is appropriate for your circumstances. If this e-mail contains reference to any financial products, the National recommends you consider the Product Disclosure Statement (PDS) or other disclosure document before making any decisions regarding any products. The National Australia Bank Group of companies does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference.
This was added a few versions ago.