Voting starts in March for the Drupal Association Board election.
Noticed this when adding a test to another issue. There are numerous test classes in core that extend DrupalWebTestCase (WebTestBase) but are labeled as unit tests. [TestCase might be a typo, TestBase is simpletest.]
http://drupal.org/node/325974 is Drupal SimpleTest coding standards
Beta phase evaluation
|Issue category||Bug-ish task because the names/docs are incorrect https://www.drupal.org/core/issue-category|
|Issue priority||Normal/Minor(?) because not rendering the system unusable https://www.drupal.org/core/issue-priority|
|Unfrozen changes||Unfrozen because it only changes automated tests.|
|Disruption||Slightly disruptive, could affects the remamed test classes.|
Allowed in the beta since it only effects tests, and that is unfrozen.
Simply rename all these classes.
- check that renamed classes are not referenced in other places.
- see if more have creeped in since the patch was made a while ago
Original summary by @xjm Feb 12 2012
I noticed this when adding a test to another issue. There are numerous test classes in core that extend DrupalWebTestCase but are labeled as unit tests. Attached patch simply renames all these classes. (I thought I saw an issue for this previously, but I guess it must have just been for a specific module.)
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,496 pass(es), 1 fail(s), and 1 exception(s). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,564 pass(es), 2 fail(s), and 1 exception(s). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 65,180 pass(es), 2 fail(s), and 1 exception(s). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch multiple-web-test-classes-mislabeled-1446366-71.patch. Unable to apply patch. See the log in the details link for more information. View
PASSED: [[SimpleTest]]: [MySQL] 58,540 pass(es). View