Skip to content

Commit 79cd57c

Browse files
committed
Log that the "I die" step was used
1 parent 08d4a7c commit 79cd57c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

stepup/tests/behat/features/bootstrap/RaContext.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,12 @@ private function diePrintingContent()
728728

729729
/**
730730
* @Given /^I die$/
731-
*/
731+
* Call the PHP die() function and output the contents of the current webpage
732+
* Useful for debugging
733+
*/
732734
public function andIDie()
733735
{
736+
echo "\nAborting test because \"I die\" is given\n";
734737
$this->diePrintingContent();
735738
}
736739
}

0 commit comments

Comments
 (0)