Slide 66
Slide 66 text
/**
* @When I run :command
*/
public function iRun($command) {
exec($command, $output);
$this->output = trim(implode("\n", $output));
}
!
/**
* @Then I should see :string in the output
*/
public function iShouldSeeInTheOutput($string) {
if (strpos($this->output, $string) === false) {
throw new \Exception(‘Did not see’.$string);
);
}