On Saturday, August 24, 2002, at 11:08 pm, chromatic wrote:
> I've been using Test::Exception on a project and am very glad to have > it. I > ran into a small issue trying to install it, though: it has TODO tests, > but > those failed as the existing version of Test::Harness (1.26 or so) did > not > understand them. > > Since TODO tests are a feature of Test::More, perhaps it would be > correct to > mark Test::Harness 2.x as a prerequisite for the Test::Simple bundle. > I almost > sent Adrian a patch doing this for Test::Exception, but it seems that > Test::Simple is the best place to handle this. I've added a patch to Test::Exception (should have spotted that... *bad* Adrian :-). It should be hitting CPAN in the next few minutes. I guess it's punishment for using TODO tests as a quick way to test failing tests. Can anybody give me a definitive version of when TODO tests started working in Test::Harness? From the Changes file I'm currently assuming everything after Test::Harness 2.03 inclusive should be okay. Personally, I would tend towards leaving the prerequisites to Test::Builder alone. I think I'm right in saying that everything except TODO tests work fine with the earlier Test::Harness, so it seems unhelpful to prevent people using the rest of the distribution. Maybe throw out a warning that TODO tests won't work on the Test::Builder install if the latest Test::Harness isn't installed? Cheers, Adrian