(Repeated with permission)
Recently when I asked on the Perl-QA list what features people would like to see in TAPx::Parser, Dave Rolsky replied that he would like to see the $ENV{HARNESS_ACTIVE} variable set. So I added that along with $ENV{HARNESS_VERSION}. After a bit of email exchange with him, he wrote the following:
I've started using it instead of prove. The two killer features for me were ordering output from STDOUT/STDERR correctly, and the color highlighting.
In another encouraging sign, not only do we have no test failures reported for the latest release and zero bug reports (all previous ones having been fixed), I see a success report for Cygwin, a very encouraging sign.
More features to come!
Re:Sort Order
jk2addict on 2007-01-19T21:53:44
i.e.F:\CPAN\Handel-Storage-RDBO>runtests -lr
t/cart_restore_replace_filter...........ok
t/cart_restore................. .........ok
t/cart_item_create......................ok
t/cart_restore_merge... .................ok
t/order_save............................ok
t/order_search. .........................ok
t/order_items...........................ok
t/cart_ add..............................ok
t/order_destroy.........................ok
t/order_delete..........................ok
t/order_create..........................ok
t/order_item_create.....................ok
t/storage_rdbo_primary_colu mns..........ok
t/storage_rdbo_add_columns..............ok
t/storage_rdbo_setu p....................ok
t/cart_clear............................ok
t/manifest. .............................ok
t/pod_coverage..........................ok
t/p od_spelling..........................ok
t/pod_syntax........................... .ok
t/strict................................ok
t/style_critic_core............ .........ok
t/storage_rdbo_connection_info..........ok
t/style_no_tabs........ .................ok
t/warnings..............................ok
t/storage_rdbo_ delete...................ok
t/cart_items............................ok
t/basic .................................ok
t/cart_create...........................ok
t/cart_delete...........................ok
t/storage_rdbo_column_accessors.........ok
t/storage_rdbo_create...................ok
t/order_add................ .............ok
t/cart_destroy..........................ok
t/cart_save........ .....................ok
t/cart_search...........................ok
t/cart_rest ore_merge_filter.............ok
t/storage_rdbo_search...................ok
t/c art_restore_replace..................ok
t/cart_restore_append_filter........... .ok
t/cart_restore_append...................ok
t/order_clear.................. .........ok
t/storage_rdbo_delete_items.............ok
t/storage_rdbo_copyable _item_columns....ok
t/storage_rdbo_columns..................ok
t/storage_rdbo_ has_column...............ok
t/storage_rdbo_count_items..............ok
t/stora ge_rdbo_clone....................ok
t/storage_rdbo_add_item.................ok
t/storage_rdbo_currency_code............ok
t/storage_rdbo_currency_columns.........ok
t/storage_rdbo_currency_format..........ok
t/storage_rdbo_process_erro r............ok
t/storage_rdbo_remove_columns...........ok
t/storage_rdbo_sche ma_class.............ok
t/storage_rdbo_schema_instance..........ok
t/cart_iter ator.........................ok
t/order_reconcile.......................ok
t/s torage_rdbo_search_items.............ok
All tests successful.
Files=59, Tests=2874, 434 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
F:\CPAN\Handel-Storage-RDBO>Re:Sort Order
jk2addict on 2007-01-19T22:00:02
It would appear that the order above is the same order if one does "dir" in the t directory. Not by date. Not by last mod. Not by name. Not by size.
Who knows what the hell Windows is doing. Maybe by ntfs node id or something terribly non-useful.Re:Sort Order
djberg96 on 2007-01-19T22:19:05
Eh? The 'dir' command lists file in alphabetical order by default, as does Perl's readdir() on Windows. Yours doesn't?There are no inodes on Windows, btw.
:) Re:Sort Order
jk2addict on 2007-01-19T23:43:11
Well, not inodes, no, but ntfs pointers. I think this is a windows "feature". On permanent drives, it is indeed alphabetical. On removable drives (USB, or at least the one I have), it is NOT alphabetical.I travel with my code on my USB stick. I don't have another one to test. The other x factor is that my USB drive is encrypted using TrueCrypt. Maybe it's the issue....but then again, prove gets it right, and so does make test/build test.F:\>dir
Volume in drive F has no label.
Volume Serial Number is 44B6-4FFC
Directory of F:\
07/13/2006 10:01 AM <DIR> Mozilla Firefox
01/26/2006 06:53 PM 488 Shortcut to firefox.exe.lnk
07/13/2006 10:07 AM <DIR> SciTE
01/28/2006 05:07 PM 368 Shortcut to SciTE.exe.lnk
07/12/2006 01:20 PM 4,796 Mango-Proposal.txt
01/26/2006 06:57 PM 538 Shortcut to thunderbird.exe.lnk
01/26/2006 08:50 PM 31,956 tngchime.wav
07/13/2006 10:08 AM <DIR> GnuPG
07/13/2006 10:40 AM <DIR> Sage
07/13/2006 10:50 AM <DIR> CatInABox
07/13/2006 05:30 PM <DIR> IRC
07/14/2006 01:36 PM <DIR> CPAN
07/20/2006 01:00 PM <DIR> Utilities
08/02/2006 09:06 PM <DIR> Mozilla Thunderbird
09/04/2006 10:33 PM <DIR> handel-intro-s5
10/31/2006 11:36 PM 6,401 test.html
10/31/2006 11:41 PM 70,250 background.png
10/31/2006 11:40 PM 306,415 background.pdn
8 File(s) 421,212 bytes
10 Dir(s) 816,685,056 bytes free
F:\>Re:Sort Order
Ovid on 2007-01-19T22:20:53
Tests are returned in the order that File::Find returns them. See the code for bin/runtests.