in reply to Re^3: How to test less with Test::More?
in thread How to test less with Test::More?

Too complicated? Then you have too many tests in one file and it's time to split them up into separate test scripts.
  • Comment on Re^4: How to test less with Test::More?

Replies are listed 'Best First'.
Re^5: How to test less with Test::More?
by eserte (Deacon) on Aug 24, 2004 at 17:04 UTC
    The main problem (in my particular case) is that single test cases are slow (taking up to one or two seconds on my slow machine). Splitting the test file into smaller chunks (How many tests per file? 30? 20? 10?) would still leave me the problem that it could take 10 seconds or more to actually run the faulty test --- to long for development.

    And for the "too complicated" argument: the failure of a test is a unusual thing, and normally only I will see the failure and very probably it's also just me who will debug and handle the error. A solution which works for me is absolutely OK. I don't need a "nice" solution, just a working solution.