-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tue, Dec 23, 2008 at 8:00 AM, Florent Becker  wrote:
> Hi all,
>
> instead of using alphabetical order, would it make sense to order the
> unit tests by "difficulty", or "fundamentalness". This way, when many
> tests fail, the first one to fail would be the one to look at
> first. This would be done by appending a number to the name of the test,
> from 00-trivial-test.sh to 99-corner-case.sh. What do you think?
>
> Florent

I think that one probably could not order all tests by
difficulty/fundamentalness, any attempt to do so would probably result
in some arbitrary rankings, wouldn't interact well with adding new
tests (suppose one adds a 60th difficulty test, does one renumber
60-100 +1?), and might result in unfortunate dependencies between
tests (switching to random order broke some tests, IIRC).

- --
gwern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAklRFJAACgkQvpDo5Pfl1oJ0PQCfbcM+1UnVb0QJ/G/0Jf1unmIa
Vo0AnioVWWPUHLZUHiBT4UhOtNc6eUtX
=6dcj
-----END PGP SIGNATURE-----
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to