Scalr\Tests\TestCase::isSkippedFunctionalTest PHP Method

isSkippedFunctionalTest() public static method

Returns true if functional tests should be skipped.
public static isSkippedFunctionalTest ( string $type = null ) : boolean
$type string optional The type of the test ui, api, cloud-dependent. If option is not provided it will try to resolve static::TEST_TYPE constant
return boolean Returns true if functional tests should be skipped.
    public static function isSkippedFunctionalTest($type = null)
    {
        $type = $type ?: static::TEST_TYPE;
        $value = \Scalr::config('scalr.phpunit.functional_tests');
        if (!is_array($value)) {
            return !$value;
        }
        //It silently skips test with undefined type.
        return $type ? !in_array($type, $value) : true;
    }