You are here

class DebugContext in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
  2. 8.2 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
  3. 8.3 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
  4. 8.4 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext

Contains step definitions to assist with debugging tests.

Hierarchy

  • class \Acquia\LightningExtension\Context\DebugContext extends \Drupal\DrupalExtension\Context\DrupalSubContextBase

Expanded class hierarchy of DebugContext

File

tests/contexts/DebugContext.behat.inc, line 10

Namespace

Acquia\LightningExtension\Context
View source
class DebugContext extends DrupalSubContextBase {

  /**
   * Waits a while, for debugging.
   *
   * @param int $seconds
   *   How long to wait.
   *
   * @When I wait :seconds second(s)
   */
  public function wait($seconds) {
    sleep($seconds);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DebugContext::wait public function Waits a while, for debugging.