Perhaps this is a local issue but I'd rather post it. When executing TaxonomyTermTestCase via php ./scripts/run-tests.sh --url http://localhost/rdf --verbose --color --class TaxonomyTermTestCase I get the following output on my screen:
Drupal test run
---------------
Tests to be run:
- Taxonomy term functions and forms. (TaxonomyTermTestCase)
Test run started: Saturday, October 17, 2009 - 22:58
Test summary:
-------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Error | Drupal</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://localhost/rdf/misc/favicon.ico" type="image/vnd.microsoft.icon" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/modules/system/defaults.css?Y" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/modules/system/system.css?Y" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/modules/system/system-menus.css?Y" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/modules/node/node.css?Y" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/modules/user/user.css?Y" />
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/themes/garland/style.css?Y" />
<link type="text/css" rel="stylesheet" media="print" href="http://localhost/rdf/themes/garland/print.css?Y" /> <!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="http://localhost/rdf/themes/garland/fix-ie.css" />
<![endif]-->
</head>
<body class="maintenance_page in-maintenance no-sidebars">
<!-- Layout -->
<div id="header-region" class="clearfix"></div>
<div id="wrapper">
<div id="container" class="clearfix">
<div id="header">
<div id="logo-floater">
<h1><a href="/rdf/" title="Drupal"><img src="http://localhost/rdf/themes/garland/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1> </div>
</div> <!-- /header -->
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
<h2>Error</h2> <div class="messages error">
<h2 class="element-invisible">Error message</h2>
<em>FieldException</em>: <em>Attempt to create an instance of field taxonomy_s308236euyfa8yz without an object type.</em> in <em>field_create_instance()</em> (line <em>609</em> of <em>/home/stefan/workspace/drupal/rdf/modules/field/field.crud.inc</em>).</div>
<div class="clearfix">
The website encountered an unexpected error. Please try again later. </div>
<div id="footer"></div>
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
</div> <!-- /container -->
</div>
<!-- /layout -->
</body>
</html>
Test run duration: 14 sec
Detailed test results:
----------------------
---- TaxonomyTermTestCase ----
Pass Role taxonomy.test 322
Created role of name: s308236H5HSekxB, id: 4
Pass Role taxonomy.test 322
Created permissions: administer taxonomy, bypass node access
Pass User login taxonomy.test 322
User created with name s308236HQhYZsWN and pass ywXmFtNzDm
Pass Browser taxonomy.test 323
GET http://localhost/rdf/?q=user returned 200 (5.72 KB).
Pass Browser taxonomy.test 323
Valid HTML found on "http://localhost/rdf/?q=user"
Pass Browser taxonomy.test 323
POST http://localhost/rdf/?q=user returned 200 (5.45 KB).
Pass Browser taxonomy.test 323
Valid HTML found on "http://localhost/rdf/?q=user/3"
Pass User login taxonomy.test 323
User s308236HQhYZsWN successfully logged in.
This means there are some passing tests whcih are in fact executed by some functions in the setUp method but the real tests are never executed, instead I get the above HTML output. Can someone look at this?
Comments
Comment #1
stefan freudenberg commentedOS is Debian GNU/Linux Lenny with
mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 22:16:23)
Comment #2
Anonymous (not verified) commentedlooking.
Comment #3
Anonymous (not verified) commentedThis is specific to you Stefan. I was just able to run the same command you used and I got a full page of passing test results.
Comment #4
asimmonds commentedCould it have been fixed by this recent commit? #607652: Uncaught exceptions in taxonomy tests
Comment #5
Anonymous (not verified) commentedThat could be asimmonds! Stefan can you check that your tests now run and pass?
Comment #6
stefan freudenberg commentedI have some faling tests now but the tests are running and the reported problem is gone.
Comment #7
Anonymous (not verified) commented