function SimpleTestInstallationProfileModuleTestsTestCase::testInstallationProfileTests
7.x simpletest.test | SimpleTestInstallationProfileModuleTestsTestCase::testInstallationProfileTests() |
Tests existence of test case located in an installation profile module.
File
- drupal-7.x/
modules/ simpletest/ simpletest.test, line 607 - Tests for simpletest.module.
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.');
}