The link to "Doxygen documentation of SimpleTest" on the SimpleTest project page points to http://contribs.rocky-shore.net/simpletest/doxy/html/index.html, which was last updated in May 2009. This documentation is out of date, and does not agree with either the Drupal 6 or Drupal 7 version of DrupalWebTestCase.
For example, the documentation says:
static randomName ($number=4, $prefix= 'simpletest_')
However, neither the D6 nor the D7 version of randomName() accepts a $prefix parameter.
I don't want to admit how much time I spent trying to debug a test case that used the non-existent second parameter - including writing a SimpleTest for randomName() and tracing through the code before realizing the documentation was the problem. Save the next guy some time and delete or update this link please! (Hopefully you can update this - the Doxygen documentation could be very useful.)
BTW, the link found in the Drupal documentation at http://drupal.org/node/278126 points to http://cwgordon.com/simpletest/doxygen/2008-june/index.html, which is even more out of date...
Comments
Comment #1
nerdoc commentedIs there anthing done with this issue (since 2011!)? Documentation is important.
Please update the links (as we, the commmunity can't).
e.g. The tutorial for D7 (currently only D6 is linked) is: https://www.drupal.org/simpletest-tutorial-drupal7