code: def set_test_arguments(parser: argparse.ArgumentParser) -> None:
      """Sets test arguments for a parser."""
      add_model_param(parser, add_positional_arg=False)
  
      core_arguments = parser.add_argument_group("Core Test Arguments")
      add_test_core_argument_group(core_arguments)
  
      nlu_arguments = parser.add_argument_group("NLU Test Arguments")
      add_test_nlu_argument_group(nlu_arguments)
  
      add_no_plot_param(parser)
      add_errors_success_params(parser)
      add_out_param(
          parser,
          default=DEFAULT_RESULTS_PATH,
          help_text="Output path for any files created during the evaluation.",
      )
  
file_path: rasa/rasa/cli/arguments/test.py
imports: import argparse
  from typing import Union
  from rasa.shared.constants import DEFAULT_MODELS_PATH, DEFAULT_RESULTS_PATH
  from rasa.cli.arguments.default_arguments import add_stories_param, add_model_param, add_nlu_data_param, add_endpoint_param, add_out_param
  from rasa.model import get_latest_model
  from rasa.shared.constants import DEFAULT_DOMAIN_PATH
label_desc: Use image node_id 1 for calling a global function with example usage: set_test_arguments(parser) without return types