r1pp3r has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to use Test::Class and it does all that I ask it *except* I can't see a way of running a single method or a subset of methods in a class.
Can Test::Class handle this?

Replies are listed 'Best First'.
Re: Test::Class and run one method
by adrianh (Chancellor) on Nov 03, 2005 at 11:31 UTC
    Can Test::Class handle this?

    Not yet. You're not the only one who wants it to happen. It's on the to do list :-)

      Cheers. I'm doing a lot of integration testing with fairly chunky programs, and calling more than one method is getting sloooow. Not because of Test::Class, which otherwise suits my needs perfectly.
Re: Test::Class and run one method
by jesuashok (Curate) on Nov 03, 2005 at 11:34 UTC
    Hi,

    you can use Test::More Class for this stuff.

    Or else you can use Test::Simple for this.

    "Keep pouring your ideas"
      you can use Test::More Class for this stuff. Or else you can use Test::Simple for this.

      How exactly? Neither Test::More or Test::Simple provide any mechanisms for running small groups of tests. They rely on Test::Harness - which only runs tests at the granularity of a test script.