Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
BrokenCacheUpdateTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php The theme to install as the default for testing.
BrokenCacheUpdateTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
BrokenCacheUpdateTest::testUpdate function core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php Ensures that a broken or out-of-date element info cache is not used.
BrokenSystemTestController class core/modules/system/tests/modules/system_test/src/Controller/BrokenSystemTestController.php A controller that does not specify its autowired dependencies correctly.
BrokenSystemTestController.php file core/modules/system/tests/modules/system_test/src/Controller/BrokenSystemTestController.php
BrokenSystemTestController::__construct function core/modules/system/tests/modules/system_test/src/Controller/BrokenSystemTestController.php Constructs the BrokenSystemTestController.
BrowserHtmlDebugTrait::$htmlOutputTestId property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php HTML output test ID.
BrowserHtmlDebugTrait::getTestMethodCaller function core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Retrieves the current calling line in the class under test.
BrowserMissingDependentModuleMethodTest class core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php A fixture test class with requires annotation.
BrowserMissingDependentModuleMethodTest.php file core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php
BrowserMissingDependentModuleMethodTest::publicCheckRequirements function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php Public access for checkRequirements() to avoid reflection.
BrowserMissingDependentModuleMethodTest::testRequiresModule function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php This method should be skipped since it requires a module that is not found.
BrowserMissingDependentModuleTest class core/tests/fixtures/BrowserMissingDependentModuleTest.php A fixture test class with requires annotation.
BrowserMissingDependentModuleTest.php file core/tests/fixtures/BrowserMissingDependentModuleTest.php
BrowserMissingDependentModuleTest::publicCheckRequirements function core/tests/fixtures/BrowserMissingDependentModuleTest.php Public access for checkRequirements() to avoid reflection.
BrowserMissingDependentModuleTest::testRequiresModule function core/tests/fixtures/BrowserMissingDependentModuleTest.php Placeholder test method.
BrowserTestBase class core/tests/Drupal/Tests/BrowserTestBase.php Provides a test case for functional Drupal tests.
BrowserTestBase.php file core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::$baseUrl property core/tests/Drupal/Tests/BrowserTestBase.php The base URL.
BrowserTestBase::$configImporter property core/tests/Drupal/Tests/BrowserTestBase.php The config importer that can be used in a test.
BrowserTestBase::$customTranslations property core/tests/Drupal/Tests/BrowserTestBase.php An array of custom translations suitable for SettingsEditor::rewrite().
BrowserTestBase::$defaultTheme property core/tests/Drupal/Tests/BrowserTestBase.php The theme to install as the default for testing.
BrowserTestBase::$mink property core/tests/Drupal/Tests/BrowserTestBase.php Mink session manager.
BrowserTestBase::$minkDefaultDriverArgs property core/tests/Drupal/Tests/BrowserTestBase.php Mink default driver params.
BrowserTestBase::$minkDefaultDriverClass property core/tests/Drupal/Tests/BrowserTestBase.php Mink class for the default driver to use.
BrowserTestBase::$modules property core/tests/Drupal/Tests/BrowserTestBase.php Modules to install.
BrowserTestBase::$originalContainer property core/tests/Drupal/Tests/BrowserTestBase.php The original container.
BrowserTestBase::$originalShutdownCallbacks property core/tests/Drupal/Tests/BrowserTestBase.php The original array of shutdown function callbacks.
BrowserTestBase::$preserveGlobalState property core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::$profile property core/tests/Drupal/Tests/BrowserTestBase.php The profile to install as a basis for testing.
BrowserTestBase::$runTestInSeparateProcess property core/tests/Drupal/Tests/BrowserTestBase.php Browser tests are run in separate processes to prevent collisions between
code that may be loaded by tests.
BrowserTestBase::$timeLimit property core/tests/Drupal/Tests/BrowserTestBase.php Time limit in seconds for the test.
BrowserTestBase::$translationFilesDirectory property core/tests/Drupal/Tests/BrowserTestBase.php The translation file directory for the test environment.
BrowserTestBase::cleanupEnvironment function core/tests/Drupal/Tests/BrowserTestBase.php Clean up the test environment.
BrowserTestBase::config function core/tests/Drupal/Tests/BrowserTestBase.php Configuration accessor for tests. Returns non-overridden configuration.
BrowserTestBase::filePreDeleteCallback function core/tests/Drupal/Tests/BrowserTestBase.php Ensures test files are deletable.
BrowserTestBase::getDefaultDriverInstance function core/tests/Drupal/Tests/BrowserTestBase.php Gets an instance of the default Mink driver.
BrowserTestBase::getDrupalSettings function core/tests/Drupal/Tests/BrowserTestBase.php Gets the JavaScript drupalSettings variable for the currently-loaded page.
BrowserTestBase::getHttpClient function core/tests/Drupal/Tests/BrowserTestBase.php Obtain the HTTP client for the system under test.
BrowserTestBase::getMinkDriverArgs function core/tests/Drupal/Tests/BrowserTestBase.php Gets the Mink driver args from an environment variable.
BrowserTestBase::getOptions function core/tests/Drupal/Tests/BrowserTestBase.php Helper function to get the options of select field.
BrowserTestBase::getSession function core/tests/Drupal/Tests/BrowserTestBase.php Returns Mink session.
BrowserTestBase::getSessionCookies function core/tests/Drupal/Tests/BrowserTestBase.php Get session cookies from current session.
BrowserTestBase::getTestMethodCaller function core/tests/Drupal/Tests/BrowserTestBase.php Retrieves the current calling line in the class under test.
BrowserTestBase::initFrontPage function core/tests/Drupal/Tests/BrowserTestBase.php Visits the front page when initializing Mink.
BrowserTestBase::initMink function core/tests/Drupal/Tests/BrowserTestBase.php Initializes Mink sessions.
BrowserTestBase::installDrupal function core/tests/Drupal/Tests/BrowserTestBase.php Installs Drupal into the test site.
BrowserTestBase::registerSessions function core/tests/Drupal/Tests/BrowserTestBase.php Registers additional Mink sessions.
BrowserTestBase::setUp function core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::setUpAppRoot function core/tests/Drupal/Tests/BrowserTestBase.php Sets up the root application path.

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