1 simpletest.test SimpleTestInstallationProfileModuleTestsTestCase::testInstallationProfileTests()

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

File

core/modules/simpletest/tests/simpletest.test, line 625
Tests for simpletest.module.

Class

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

Code

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