protected function prepare()
    {
        $active = app('antares.memory')->get("extensions.active");
        $memory = app('antares.memory')->make('tests');
        $tests  = $memory->all();
        $return = [];
        foreach ($tests as $index => $data) {
            if (!isset($data['executor'])) {
                $memory->forget($index);
                continue;
            }
            try {
                $reflection = new ReflectionClass($data['executor']);
                if (!$reflection->hasMethod('addTestButton')) {
                    throw new Exception('Form Configuration is invalid. Form with test must contains Testable Trait.');
                }
            } catch (Exception $e) {
                Log::emergency($e);
                $memory->forget($index);
                continue;
            }
            $name                                     = $data['component'];
            $fullName                                 = isset($active[$name]) ? $active[$name]['full_name'] : 'Foundation';
            $return[$fullName][$data['name']][$index] = $data;
        }
        $memory->finish();
        return $return;
    }
protected function prepare()
    {
        $active = app('antares.memory')->get("extensions.active");
        $memory = app('antares.memory')->make('tests');
        $tests  = $memory->all();
        $return = [];
        foreach ($tests as $index => $data) {
            if (!isset($data['executor'])) {
                $memory->forget($index);
                continue;
            }
            try {
                $reflection = new ReflectionClass($data['executor']);
                if (!$reflection->hasMethod('addTestButton')) {
                    throw new Exception('Form Configuration is invalid. Form with test must contains Testable Trait.');
                }
            } catch (Exception $e) {
                Log::emergency($e);
                $memory->forget($index);
                continue;
            }
            $name                                     = $data['component'];
            $fullName                                 = isset($active[$name]) ? $active[$name]['full_name'] : 'Foundation';
            $return[$fullName][$data['name']][$index] = $data;
        }
        $memory->finish();
        return $return;
    }
protected function prepare ( ) { $ active = app ( 'antares.memory' ) -> get ( "extensions.active" ) ; $ memory = app ( 'antares.memory' ) -> make ( 'tests' ) ; $ tests = $ memory -> all ( ) ; $ return = [ ] ; foreach ( $ tests as $ index => $ data ) { if ( ! isset ( $ data [ 'executor' ] ) ) { $ memory -> forget ( $ index ) ; continue ; } try { $ reflection = new ReflectionClass ( $ data [ 'executor' ] ) ; if ( ! $ reflection -> hasMethod ( 'addTestButton' ) ) { throw new Exception ( 'Form Configuration is invalid. Form with test must contains Testable Trait.' ) ; } } catch ( Exception $ e ) { Log :: emergency ( $ e ) ; $ memory -> forget ( $ index ) ; continue ; } $ name = $ data [ 'component' ] ; $ fullName = isset ( $ active [ $ name ] ) ? $ active [ $ name ] [ 'full_name' ] : 'Foundation' ; $ return [ $ fullName ] [ $ data [ 'name' ] ] [ $ index ] = $ data ; } $ memory -> finish ( ) ; return $ return ; }
script prepare before round robin launch

@return array
@throws Exception
script prepare before round robin launch