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
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
- #1985438: Test to prevent test classes mislabeling and wrong filenames
- #1847280: Rename some functional SimpleTest WebTestBase test classes acording to code standards
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.)