-----BEGIN PGP SIGNED MESSAGE----- Moin,
On Sunday 14 September 2003 07:37, Andrew Savige wrote: > Ovid wrote: [snip] > functionality seems to be superseded by Apache::TestHarness run() method. > ObDisclaimer: I haven't got a clue what you are talking about, but this bit caught my attention: > All of the above seem to first chdir into the 't' directory, which I found > a bit odd because "make test" runs from the directory below that one. > And I imagine quite a few CPAN modules have tests that will fail if run > from the 't' directory. Or is writing a test that assumes you are in the > directory below the 't' directory considered bad style? (if so, I couldn't > find it mentioned in the docs). My tests always change into the t directory, which really fools Devel::Cover. But I have at least one project, which has a subdirectory in t/ and some tests live in that dir and change to it (e.g. one below t/). Which not only made Makefile.PL hackery neccessary, but also screws Devel::Cover even more... I don't know about official rules about where to put tests... Cheers, Tels - -- Signed on Sun Sep 14 10:25:15 2003 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Call me Justin, Justin Case." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. iQEVAwUBP2QnnncLPEOTuEwVAQHcYwf/RIimhd18KK8kOHHptqSWV/ca1PJ8Ub8X pAk7Gh8dkTUSpVivfTsK1jT3cXx8F2rRHMRmfU7gFCLqsJNcLgIgjcRKF5CmHUqe HJI0h7lhJiMqXgsJo85huhX2irTJ7iXhgOsc9jzdtEf7BCx0UQ+05dX2NrBPU9cq Y2p6Izp35Q9frw2G8llqHR/PU24KhPNJw9vRouDyDwCCXtxxpCJv5GdxaP+5+2v3 TBqPtFuz9eMLTHr0xFddXUyiydYOca+osL829YvBAFmKDz3e73fG1oNjSp3z894Y XKAAf/+0TK+HJrK8yzjeSR4bylVgta0VDs9650+nCOv3vfsPIXPSKQ== =BOwJ -----END PGP SIGNATURE-----