function SimpleTestInstallationProfileModuleTestsTestCase::testInstallationProfileTests

Tests existence of test case located in an installation profile module.

File

modules/simpletest/simpletest.test, line 681

Class

SimpleTestInstallationProfileModuleTestsTestCase
Verifies that tests bundled with installation profile modules are found.

Code

function testInstallationProfileTests() {
    $this->drupalGet('admin/config/development/testing');
    $this->assertText('Installation profile module tests helper');
    $edit = array(
        'DrupalSystemListingCompatibleTestCase' => TRUE,
    );
    $this->drupalPost(NULL, $edit, t('Run tests'));
    $this->assertText('DrupalSystemListingCompatibleTestCase test executed.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.