-----BEGIN PGP SIGNED MESSAGE----- Moin,
On Tuesday 03 February 2004 19:08, Adrian Howard wrote: > On Tuesday, February 3, 2004, at 05:44 pm, Tels wrote: > [snip] > > > This has prevented me from "converting" several huge old testsuites > > from > > "use Test;" to "use Test::More;" because I know that I would then have > > to > > go and add testnames to thousand of tests (e.g. all tests that test for > > number output). This is very boring, and you can bet that I will come > > up > > with "is ($foo->baz(), 12, 'is 12');" just to shut of the warnings. > > And bad > > testnames are like bad comments, better have none than a bad or silly > > one :) > > [snip] > > Since the test names are optional, is there any need to add one at all > as you're converting? Unless I change every occurance of ok(...) to is(...), no. I was just lazy and didn't want to change all the ok()'s for no apparent reason, but it seems I must do so because Test::More's ok() differs from Test's one. Best wishes, Tels > > Adrian - -- Signed on Tue Feb 3 19:38:17 2004 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Given enough time, all legal battles in the tech industry will invoke the DMCA. This generally means that all constructive arguments have ended." NialScorva's law -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. iQEVAwUBQB/q4HcLPEOTuEwVAQEDYAf/S1yZQovd6syDO+MEocLyDuFyYYzc4jih 4VNCuFUY3t8FEqbsKJSbcTWeybRyqvpOV9dvZQVhLqE1m6hupq6AnO3kawISRobx UZEyloKtSBMuMCfz1cSbKtJNaN3UcNCZsBGbS+7bs6Vu3vCJhN1HsAtZ9roeVWA1 JzcQtMGi1EaWMA33LY/KGuaaBKI6BqKNI2nM/ZCzmDeD/bM/FygfMnQRvnwMuwF2 XT5rxmYfs2+C9+t/xbtWoX8YLDilZ8K5e4WYD0xdMChTwOjJR7EFbTFP5Dfq3FJF M5/slJ9ULiR/UBzs0wkKonnWZnrI6nOFBhWEybAkQsljijcPSR1wog== =LHg1 -----END PGP SIGNATURE-----