in reply to Re: Problem with orderly execution of test cases in .t file
in thread Problem with orderly execution of test cases in .t file

one of those modules itself uses another of those modules, Whats the solution for this? Its happening for this.
  • Comment on Re^2: Problem with orderly execution of test cases in .t file

Replies are listed 'Best First'.
Re^3: Problem with orderly execution of test cases in .t file
by chromatic (Archbishop) on Jun 16, 2011 at 19:14 UTC
    Whats the solution for this?

    Don't run tests on import(). Add a static method to each module to run its tests.

    Use something like Test::Routine or Test::Class to organize your test cases.