14 lines
332 B
PHP
14 lines
332 B
PHP
<?php
|
|
|
|
class ExecCest
|
|
{
|
|
// tests
|
|
public function toExecLsCommand(CliGuy $I)
|
|
{
|
|
$command = strncasecmp(PHP_OS, 'WIN', 3) == 0 ? 'dir' : 'ls';
|
|
$res = $I->taskExec($command)->run();
|
|
verify($res->getMessage())->contains('src');
|
|
verify($res->getMessage())->contains('codeception.yml');
|
|
}
|
|
}
|