Method |
Description |
|
__construct ( array $config = [], $site = NULL ) |
Initialization of the Codeception class. |
|
addTest ( Test $test ) |
Add a Test to the list. |
|
checkExecutable ( string $file, string $config ) : array |
Check that the Codeception executable exists and is runnable. |
|
checkWriteable ( $path = null, $config ) : array |
Check if the Codeception Log Path is writeable. |
|
getCommandPath ( string $type, string $filename, $env ) : string |
Full command to run a Codeception test. |
|
getEnvironments ( $type ) |
|
|
getLogPath ( ) : string |
Get the Codeception log path |
|
getRunResponse ( string $type, string $hash ) : array |
Given a test type & hash, handle the test run response for the AJAX call. |
|
getTest ( string $type, string $hash ) : App\Lib\Test |
Given a test type & hash, return a single Test. |
|
getTestTally ( ) : integer |
Return the count of discovered tests |
|
getTests ( ) |
Get the complete test list. |
|
loadConfig ( string $path, string $file ) : array |
Load the Codeception YAML configuration. |
|
loadTests ( ) |
Load the Codeception tests from disk. |
|
ready ( ) : boolean |
Return if Codeception is ready. |
|
run ( Test $test ) : Test |
Given a test, run the Codeception test. |
|