Merge pull request #1415 from mailpoet/acceptance-file-param
Add support for file parameter to acceptance tests [MAILPOET-1434]
This commit is contained in:
@ -227,12 +227,12 @@ class RoboFile extends \Robo\Tasks {
|
||||
return $this->_exec($command);
|
||||
}
|
||||
|
||||
function testAcceptance() {
|
||||
return $this->_exec('COMPOSE_HTTP_TIMEOUT=200 docker-compose run codeception --steps --debug -vvv');
|
||||
function testAcceptance($opts=['file' => null]) {
|
||||
return $this->_exec('COMPOSE_HTTP_TIMEOUT=200 docker-compose run codeception --steps --debug -vvv -f '.($opts['file'] ? $opts['file'] : ''));
|
||||
}
|
||||
|
||||
function testAcceptanceMultisite() {
|
||||
return $this->_exec('COMPOSE_HTTP_TIMEOUT=200 docker-compose run -e MULTISITE=1 codeception --steps --debug -vvv');
|
||||
function testAcceptanceMultisite($opts=['file' => null]) {
|
||||
return $this->_exec('COMPOSE_HTTP_TIMEOUT=200 docker-compose run -e MULTISITE=1 codeception --steps --debug -vvv -f '.($opts['file'] ? $opts['file'] : ''));
|
||||
}
|
||||
|
||||
function deleteDocker() {
|
||||
|
Reference in New Issue
Block a user