You are here

public static function SimpleTestUnitTestExampleTestCase::getInfo in Examples for Developers 7

File

simpletest_example/simpletest_example.test, line 144
An example of simpletest tests to accompany the tutorial at http://drupal.org/node/890654.

Class

SimpleTestUnitTestExampleTestCase
Although most core test cases are based on DrupalWebTestCase and are functional tests (exercising the web UI) we also have DrupalUnitTestCase, which executes much faster because a Drupal install does not have to be one. No environment is provided to a…

Code

public static function getInfo() {
  return array(
    'name' => 'SimpleTest Example unit tests',
    'description' => 'Test that simpletest_example_empty_mysql_date works properly.',
    'group' => 'Examples',
  );
}