Re: [Pyunit-interest] Run all tests in the current directory
Brought to you by:
purcell
From: Jeremy H. <je...@zo...> - 2002-03-15 04:47:44
|
On Thu, 14 Mar 2002 18:42:00 -0600 "Patrick K. O'Brien" <po...@or...> wrote: > A bit heavier than what I was after. But very nice. Lots > of good ideas in > there. I'm sure I'll have more of a need for these > features as my set of > tests grows. Thanks for the tip. It is certainly a complicated script. And you're right that the features may be useful as your test suite grows. We ended up needing these features on projects with large and/or slow test suites. Zope has 1200 unit tests. An internal project had functional tests driven by unittest that took several minutes to run. Using regexs to select test suites and cases was probably the most useful feature. We had a few isolated tests that failed intermittently. We could use the basic test harness to select those tests, run them in a loop, and print tracebacks as soon as they happend. It was the only sane alternative :-). Jeremy |