def setup(platform, file_path, threads, parallel)
      spec_path = 'spec/'
      spec_path = file_path.to_s unless file_path.nil?
      puts "SPEC PATH:#{spec_path}"

      unless %w[ios android].include? platform
        puts "Invalid platform #{platform}"
        exit
      end

      execute_specs platform, threads, spec_path, parallel
    end
def setup(platform, file_path, threads, parallel)
      spec_path = 'spec/'
      spec_path = file_path.to_s unless file_path.nil?
      puts "SPEC PATH:#{spec_path}"

      unless %w[ios android].include? platform
        puts "Invalid platform #{platform}"
        exit
      end

      execute_specs platform, threads, spec_path, parallel
    end
Define Spec path, validate platform and execute specs