Merging latest master
This commit is contained in:
commit
28d09275fd
83 changed files with 1283 additions and 69 deletions
|
|
@ -38,6 +38,12 @@ class Codeception implements \PHPCI\Plugin
|
|||
*/
|
||||
protected $xmlConfigFile;
|
||||
|
||||
/**
|
||||
* Set up the plugin, configure options, etc.
|
||||
* @param Builder $phpci
|
||||
* @param Build $build
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct(Builder $phpci, Build $build, array $options = array())
|
||||
{
|
||||
$this->phpci = $phpci;
|
||||
|
|
@ -66,6 +72,11 @@ class Codeception implements \PHPCI\Plugin
|
|||
return $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run tests from a Codeception config file.
|
||||
* @param $configPath
|
||||
* @return bool|mixed
|
||||
*/
|
||||
protected function runConfigFile($configPath)
|
||||
{
|
||||
if (is_array($configPath)) {
|
||||
|
|
@ -91,6 +102,11 @@ class Codeception implements \PHPCI\Plugin
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $array
|
||||
* @param $callable
|
||||
* @return bool|mixed
|
||||
*/
|
||||
protected function recurseArg($array, $callable)
|
||||
{
|
||||
$success = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue