class DebugContext in Lightning Core 8
Same name and namespace in other branches
- 8.5 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
- 8.2 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
- 8.3 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext
- 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\ContextView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DebugContext:: |
public | function | Waits a while, for debugging. |