[development] Error running SimpleTest on new installation

Larry Garfield larry at garfieldtech.com
Fri Oct 31 18:20:31 UTC 2008


That particular error is usually caused by a bug in one of the unit tests you ran causing simpletest to hiccup.  I've seen it a couple of times, and it's sometimes sporadic, unfortunately.  It could be a bug in simpletest itself.  I've not ruled that out yet.

See if you can narrow it down to a single test that's causing the problem.  If you can establish a pattern (a particular test, more than X tests, some particular phase of the moon, etc.) then file a bug report for the appropriate module (which could be simpletest itself).  If you need more help narrowing it down, stop by #Drupal on IRC.  Simpletest is high in the mind of most core devs of late, so there's a good chance you'll find someone who can give you more detailed help tracking down the problem.

Thank you for helping make Drupal better!

--Larry Garfield

On Thu, 30 Oct 2008 13:16:11 -0400, "Sookocheff, Kevin" <Kevin.Sookocheff at cbsa-asfc.gc.ca> wrote:
> Hello,
> 
> I had checked out a fresh version of Drupal from CVS this morning and
> each time I run some SimpleTest test cases I receive the following
> error:
> 
> Undefined index: test_id in _simpletest_batch_finished() (line 423 of
> E:\xampp\htdocs\drupal_test\modules\simpletest\simpletest.module).
> 
> I am new to Drupal development and want to get started by writing some
> tests and reviewing patches.  Does anyone have an idea about fixing the
> above problem so that I can get started?
> 
> Thanks,
> Kevin



More information about the development mailing list