You are here

MissingDependentModuleUnitTest.php in Zircon Profile 8

File

core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php
View source
<?php

/**
 * @file
 * Contains \Drupal\simpletest\Tests\MissingDependentModuleUnitTest.
 */
namespace Drupal\simpletest\Tests;

use Drupal\simpletest\KernelTestBase;

/**
 * This test should not load since it requires a module that is not found.
 *
 * @group simpletest
 * @dependencies simpletest_missing_module
 */
class MissingDependentModuleUnitTest extends KernelTestBase {

  /**
   * Ensure that this test will not be loaded despite its dependency.
   */
  function testFail() {
    $this
      ->fail('Running test with missing required module.');
  }

}

Classes

Namesort descending Description
MissingDependentModuleUnitTest This test should not load since it requires a module that is not found.