original_docstring: Returns the command that launches tests using xcodebuild.
  
      Format of command:
      xcodebuild test-without-building -xctestrun file.xctestrun \
        -parallel-testing-enabled YES -parallel-testing-worker-count %d% \
        [-destination "destination"]  -resultBundlePath %output_path%
  
      Args:
        out_dir: (str) An output directory.
        destination: (str) A destination of running simulator.
        shards: (int) A number of shards.
  
      Returns:
        A list of strings forming the command to launch the test.
      
docstring: Returns the command that launches tests using xcodebuild.
docstring_tokens: Returns the command that launches tests using xcodebuild .
code: def command(self, out_dir, destination, shards):
      """Returns the command that launches tests using xcodebuild.
  
      Format of command:
      xcodebuild test-without-building -xctestrun file.xctestrun \
        -parallel-testing-enabled YES -parallel-testing-worker-count %d% \
        [-destination "destination"]  -resultBundlePath %output_path%
  
      Args:
        out_dir: (str) An output directory.
        destination: (str) A destination of running simulator.
        shards: (int) A number of shards.
  
      Returns:
        A list of strings forming the command to launch the test.
      """
      cmd = []
      if is_running_rosetta():
        cmd.extend(['arch', '-arch', 'arm64'])
      cmd.extend([
          'xcodebuild', 'test-without-building', '-xctestrun',
          self.fill_xctest_run(out_dir), '-destination', destination,
          '-resultBundlePath', out_dir
      ])
      if shards > 1:
        cmd.extend([
            '-parallel-testing-enabled', 'YES', '-parallel-testing-worker-count',
            str(shards)
        ])
      return cmd
code_tokens: def command ( self , out_dir , destination , shards ) : cmd = [ ] if is_running_rosetta ( ) : cmd . extend ( [ 'arch' , '-arch' , 'arm64' ] ) cmd . extend ( [ 'xcodebuild' , 'test-without-building' , '-xctestrun' , self . fill_xctest_run ( out_dir ) , '-destination' , destination , '-resultBundlePath' , out_dir ] ) if shards > 1 : cmd . extend ( [ '-parallel-testing-enabled' , 'YES' , '-parallel-testing-worker-count' , str ( shards ) ] ) return cmd
short_docstring: Returns the command that launches tests using xcodebuild.
short_docstring_tokens: Returns the command that launches tests using xcodebuild .
comment: """Returns the command that launches tests using xcodebuild.
  
      Format of command:
      xcodebuild test-without-building -xctestrun file.xctestrun \
        -parallel-testing-enabled YES -parallel-testing-worker-count %d% \
        [-destination "destination"]  -resultBundlePath %output_path%
  
      Args:
        out_dir: (str) An output directory.
        destination: (str) A destination of running simulator.
        shards: (int) A number of shards.
  
      Returns:
        A list of strings forming the command to launch the test.
      """