Robot Framework Integrated Development Environment (RIDE)
robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin Class Reference

A plugin for running tests from within RIDE. More...

Inheritance diagram for robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin:

Public Member Functions

def __init__ (self, application=None)
 
def disable (self)
 
def enable (self)
 
def get_current_profile (self)
 
def OnClose (self, event)
 Shut down the running services and processes. More...
 
def OnConsoleLogPaneChanged (self, evt)
 
def OnContinue (self, event)
 
def OnMessageLogPaneChanged (self, evt)
 
def OnOpenLogsDirectory (self, evt)
 Called when the user clicks on the "Open Logs Directory" button. More...
 
def OnPause (self, event)
 
def OnProcessEnded (self, evt)
 
def OnRun (self, event)
 Called when the user clicks or presses the F8, Run Tests. More...
 
def OnRunDebug (self, event)
 Called when the user clicks or presses the F9, Run Tests with Debug It can still be overwritten in RIDE Arguments line. More...
 
def OnSettingsChanged (self, message)
 Updates settings. More...
 
def OnShowLog (self, evt)
 Called when the user clicks on the "Log" button. More...
 
def OnShowReport (self, evt)
 Called when the user clicks on the "Report" button. More...
 
def OnStepNext (self, event)
 
def OnStepOver (self, event)
 
def OnStop (self, event)
 Called when the user clicks the "Stop" button. More...
 
def OnTestSelectedForRunningChanged (self, message)
 
def OnTimer (self, evt)
 Get process output. More...
 
def parse_colors (self, txt)
 
def store_color (self, idx, color)
 

Public Attributes

 autosave_cb
 
 choice
 
 fail_color
 
 metadata
 
 panel
 
 pass_color
 
 pause_on_failure_cb
 
 skip_color
 
 use_colors
 
 version
 

Static Public Attributes

dictionary defaults
 
 log_regex = re.compile("^Log: {5}(.*\.html)$", re.MULTILINE)
 
 report_regex = re.compile("^Report: {2}(.*\.html)$", re.MULTILINE)
 
string title = "Run"
 

Properties

 _names_to_run = property
 

Private Member Functions

def _add_tab_to_notebook (self)
 
def _append_text (self, text_ctrl, text, source="stdout")
 
def _append_to_console_log (self, text, source="stdout")
 Put output to the text control. More...
 
def _append_to_message_log (self, text, source="stdout")
 
def _bind_local_toolbar_events (self, toolbar)
 
def _bind_runner_toolbar_events (self, toolbar)
 
def _build_config_panel (self, parent)
 Builds the configuration panel for this plugin. More...
 
def _build_local_toolbar (self, parent)
 
def _build_output_panel (self, parent)
 
def _build_runner_toolbar (self, parent)
 
def _can_start_running_tests (self)
 
def _clear_log_ctrls (self)
 
def _copy_from_log_ctrls (self, event)
 
def _create_collapsible_pane (self, parent, title, expand, pane_changed_handler)
 
def _create_command (self, profile_command, args_file)
 
def _create_command_args (self, profile_command_args, log_level='INFO', use_colors=False)
 
def _create_temporary_directory (self)
 
def _create_text_ctrl (self, parent)
 
def _delete_pressed (self, event)
 
def _enable_runner_toolbar (self, run, paused)
 
def _get_all_subclasses (self, class_)
 
def _get_console_width (self)
 
def _get_current_working_dir (self, profile)
 
def _get_last_output_char (self)
 Return the last character in the output window. More...
 
def _handle_continue (self, args)
 
def _handle_end_keyword (self)
 
def _handle_end_test (self, args)
 
def _handle_log_file (self, args)
 
def _handle_log_message (self, args)
 
def _handle_paused (self, args)
 
def _handle_report_file (self, args)
 
def _handle_start_keyword (self, args)
 
def _handle_start_test (self, args)
 
def _init_profile_choice (self, profile_name)
 First installation of the profile to be used to run tests. More...
 
def _initialize_ui_for_running (self)
 
def _initialize_variables_for_running (self, profile_settings, args)
 
def _names_to_run (self)
 
def _on_autosave_cb (self, evt)
 Called when the user clicks on the "Auto Save" checkbox. More...
 
def _on_pause_on_failure_cb (self, evt)
 
def _on_profile_selection (self, event)
 
def _read_report_and_log_from_stdout_if_needed (self)
 
def _read_run_profiles (self)
 
def _read_run_profiles_from_classes (self)
 
def _read_run_profiles_from_config (self)
 
def _register_actions (self)
 
def _register_shortcuts (self)
 
def _remove_from_notebook (self)
 Remove the tab for this plugin from the notebook. More...
 
def _remove_temporary_directory (self)
 
def _reset_memory_calc (self)
 
def _run_tests (self, log_level='INFO')
 
def _save_command_args_in_file (self, args)
 
def _set_continue (self)
 
def _set_paused (self)
 
def _set_profile (self, profile_name)
 Set the profile to be used to run tests. More...
 
def _set_running (self)
 
def _set_stopped (self)
 
def _show_notebook_tab (self)
 Show the Run notebook ta. More...
 
def _subscribe_to_events (self)
 
def _test_runner_events_handler (self, event, *args)
 Endpoint of the listener interface. More...
 
def _tests_selected (self)
 

Static Private Member Functions

def _ask_user_to_run_anyway ()
 
def _ask_user_to_save_before_running ()
 
def _change_item_proportion (panel, item, proportion)
 
def _clear_text_ctrl (text_ctrl)
 
def _create_check_box (parent, id, label, value, tooltip)
 
def _get_report_or_log (output, regex)
 
def _notify_user_no_logs_directory ()
 
def _set_margins (out)
 

Private Attributes

 _color_map
 
 _config_panel
 
 _console_log
 
 _console_log_ctrl
 
 _controls
 
 _currently_executing_keyword
 
 _default_output_dir
 
 _frame
 
 _initmemory
 
 _limitmemory
 
 _local_toolbar
 
 _log_file
 
 _log_message_queue
 
 _logs_directory
 
 _maxmemmsg
 
 _message_log_ctrl
 
 _min_log_level_number
 
 _mysettings
 
 _output_panel
 
 _pause_on_failure
 
 _process
 
 _process_timer
 
 _profile_classes_from_config
 
 _profile_toolbar
 
 _progress_bar
 
 _reload_timer
 
 _report_file
 
 _run_action
 
 _runner_toolbar
 
 _running
 
 _selected_tests
 
 _stop_action
 
 _test_runner
 

Detailed Description

A plugin for running tests from within RIDE.

Definition at line 154 of file testrunnerplugin.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.__init__ (   self,
  application = None 
)

Definition at line 180 of file testrunnerplugin.py.

Member Function Documentation

◆ _add_tab_to_notebook()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._add_tab_to_notebook (   self)
private

Definition at line 891 of file testrunnerplugin.py.

◆ _append_text()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._append_text (   self,
  text_ctrl,
  text,
  source = "stdout" 
)
private

Definition at line 617 of file testrunnerplugin.py.

◆ _append_to_console_log()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._append_to_console_log (   self,
  text,
  source = "stdout" 
)
private

Put output to the text control.

Definition at line 612 of file testrunnerplugin.py.

◆ _append_to_message_log()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._append_to_message_log (   self,
  text,
  source = "stdout" 
)
private

Definition at line 606 of file testrunnerplugin.py.

◆ _ask_user_to_run_anyway()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._ask_user_to_run_anyway ( )
staticprivate

Definition at line 478 of file testrunnerplugin.py.

◆ _ask_user_to_save_before_running()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._ask_user_to_save_before_running ( )
staticprivate

Definition at line 467 of file testrunnerplugin.py.

◆ _bind_local_toolbar_events()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._bind_local_toolbar_events (   self,
  toolbar 
)
private

Definition at line 833 of file testrunnerplugin.py.

◆ _bind_runner_toolbar_events()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._bind_runner_toolbar_events (   self,
  toolbar 
)
private

Definition at line 770 of file testrunnerplugin.py.

◆ _build_config_panel()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._build_config_panel (   self,
  parent 
)
private

Builds the configuration panel for this plugin.

Definition at line 920 of file testrunnerplugin.py.

◆ _build_local_toolbar()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._build_local_toolbar (   self,
  parent 
)
private

Definition at line 781 of file testrunnerplugin.py.

◆ _build_output_panel()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._build_output_panel (   self,
  parent 
)
private

Definition at line 929 of file testrunnerplugin.py.

◆ _build_runner_toolbar()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._build_runner_toolbar (   self,
  parent 
)
private

Definition at line 735 of file testrunnerplugin.py.

◆ _can_start_running_tests()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._can_start_running_tests (   self)
private

Definition at line 456 of file testrunnerplugin.py.

◆ _change_item_proportion()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._change_item_proportion (   panel,
  item,
  proportion 
)
staticprivate

Definition at line 965 of file testrunnerplugin.py.

◆ _clear_log_ctrls()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._clear_log_ctrls (   self)
private

Definition at line 494 of file testrunnerplugin.py.

◆ _clear_text_ctrl()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._clear_text_ctrl (   text_ctrl)
staticprivate

Definition at line 499 of file testrunnerplugin.py.

◆ _copy_from_log_ctrls()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._copy_from_log_ctrls (   self,
  event 
)
private

Definition at line 228 of file testrunnerplugin.py.

◆ _create_check_box()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_check_box (   parent,
  id,
  label,
  value,
  tooltip 
)
staticprivate

Definition at line 1006 of file testrunnerplugin.py.

◆ _create_collapsible_pane()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_collapsible_pane (   self,
  parent,
  title,
  expand,
  pane_changed_handler 
)
private

Definition at line 974 of file testrunnerplugin.py.

◆ _create_command()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_command (   self,
  profile_command,
  args_file 
)
private

Definition at line 426 of file testrunnerplugin.py.

◆ _create_command_args()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_command_args (   self,
  profile_command_args,
  log_level = 'INFO',
  use_colors = False 
)
private

Definition at line 411 of file testrunnerplugin.py.

◆ _create_temporary_directory()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_temporary_directory (   self)
private

Definition at line 309 of file testrunnerplugin.py.

◆ _create_text_ctrl()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._create_text_ctrl (   self,
  parent 
)
private

Definition at line 998 of file testrunnerplugin.py.

◆ _delete_pressed()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._delete_pressed (   self,
  event 
)
private

Definition at line 223 of file testrunnerplugin.py.

◆ _enable_runner_toolbar()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._enable_runner_toolbar (   self,
  run,
  paused 
)
private

Definition at line 1135 of file testrunnerplugin.py.

◆ _get_all_subclasses()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._get_all_subclasses (   self,
  class_ 
)
private

Definition at line 279 of file testrunnerplugin.py.

◆ _get_console_width()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._get_console_width (   self)
private

Definition at line 719 of file testrunnerplugin.py.

◆ _get_current_working_dir()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._get_current_working_dir (   self,
  profile 
)
private

Definition at line 449 of file testrunnerplugin.py.

◆ _get_last_output_char()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._get_last_output_char (   self)
private

Return the last character in the output window.

Definition at line 591 of file testrunnerplugin.py.

◆ _get_report_or_log()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._get_report_or_log (   output,
  regex 
)
staticprivate

Definition at line 554 of file testrunnerplugin.py.

◆ _handle_continue()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_continue (   self,
  args 
)
private

Definition at line 1106 of file testrunnerplugin.py.

◆ _handle_end_keyword()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_end_keyword (   self)
private

Definition at line 1090 of file testrunnerplugin.py.

◆ _handle_end_test()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_end_test (   self,
  args 
)
private

Definition at line 1066 of file testrunnerplugin.py.

◆ _handle_log_file()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_log_file (   self,
  args 
)
private

Definition at line 1083 of file testrunnerplugin.py.

◆ _handle_log_message()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_log_message (   self,
  args 
)
private

Definition at line 1093 of file testrunnerplugin.py.

◆ _handle_paused()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_paused (   self,
  args 
)
private

Definition at line 1102 of file testrunnerplugin.py.

◆ _handle_report_file()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_report_file (   self,
  args 
)
private

Definition at line 1079 of file testrunnerplugin.py.

◆ _handle_start_keyword()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_start_keyword (   self,
  args 
)
private

Definition at line 1087 of file testrunnerplugin.py.

◆ _handle_start_test()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._handle_start_test (   self,
  args 
)
private

Definition at line 1061 of file testrunnerplugin.py.

◆ _init_profile_choice()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._init_profile_choice (   self,
  profile_name 
)
private

First installation of the profile to be used to run tests.

Definition at line 865 of file testrunnerplugin.py.

◆ _initialize_ui_for_running()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._initialize_ui_for_running (   self)
private

Definition at line 485 of file testrunnerplugin.py.

◆ _initialize_variables_for_running()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._initialize_variables_for_running (   self,
  profile_settings,
  args 
)
private

Definition at line 434 of file testrunnerplugin.py.

◆ _names_to_run()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._names_to_run (   self)
private

Definition at line 211 of file testrunnerplugin.py.

◆ _notify_user_no_logs_directory()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._notify_user_no_logs_directory ( )
staticprivate

Definition at line 1148 of file testrunnerplugin.py.

◆ _on_autosave_cb()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._on_autosave_cb (   self,
  evt 
)
private

Called when the user clicks on the "Auto Save" checkbox.

Definition at line 851 of file testrunnerplugin.py.

◆ _on_pause_on_failure_cb()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._on_pause_on_failure_cb (   self,
  evt 
)
private

Definition at line 854 of file testrunnerplugin.py.

◆ _on_profile_selection()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._on_profile_selection (   self,
  event 
)
private

Definition at line 858 of file testrunnerplugin.py.

◆ _read_report_and_log_from_stdout_if_needed()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._read_report_and_log_from_stdout_if_needed (   self)
private

Definition at line 541 of file testrunnerplugin.py.

◆ _read_run_profiles()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._read_run_profiles (   self)
private

Definition at line 265 of file testrunnerplugin.py.

◆ _read_run_profiles_from_classes()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._read_run_profiles_from_classes (   self)
private

Definition at line 275 of file testrunnerplugin.py.

◆ _read_run_profiles_from_config()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._read_run_profiles_from_config (   self)
private

Definition at line 269 of file testrunnerplugin.py.

◆ _register_actions()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._register_actions (   self)
private

Definition at line 248 of file testrunnerplugin.py.

◆ _register_shortcuts()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._register_shortcuts (   self)
private

Definition at line 216 of file testrunnerplugin.py.

◆ _remove_from_notebook()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._remove_from_notebook (   self)
private

Remove the tab for this plugin from the notebook.

Definition at line 730 of file testrunnerplugin.py.

◆ _remove_temporary_directory()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._remove_temporary_directory (   self)
private

Definition at line 319 of file testrunnerplugin.py.

◆ _reset_memory_calc()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._reset_memory_calc (   self)
private

Definition at line 332 of file testrunnerplugin.py.

◆ _run_tests()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._run_tests (   self,
  log_level = 'INFO' 
)
private

Definition at line 378 of file testrunnerplugin.py.

◆ _save_command_args_in_file()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._save_command_args_in_file (   self,
  args 
)
private

Definition at line 421 of file testrunnerplugin.py.

◆ _set_continue()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_continue (   self)
private

Definition at line 1123 of file testrunnerplugin.py.

◆ _set_margins()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_margins (   out)
staticprivate

Definition at line 1013 of file testrunnerplugin.py.

◆ _set_paused()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_paused (   self)
private

Definition at line 1118 of file testrunnerplugin.py.

◆ _set_profile()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_profile (   self,
  profile_name 
)
private

Set the profile to be used to run tests.

Definition at line 876 of file testrunnerplugin.py.

◆ _set_running()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_running (   self)
private

Definition at line 1110 of file testrunnerplugin.py.

◆ _set_stopped()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._set_stopped (   self)
private

Definition at line 1128 of file testrunnerplugin.py.

◆ _show_notebook_tab()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._show_notebook_tab (   self)
private

Show the Run notebook ta.

Definition at line 600 of file testrunnerplugin.py.

◆ _subscribe_to_events()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._subscribe_to_events (   self)
private

Definition at line 285 of file testrunnerplugin.py.

◆ _test_runner_events_handler()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._test_runner_events_handler (   self,
  event,
args 
)
private

Endpoint of the listener interface.

    This is called via the listener interface. It has an event such as
    "start_suite", "start_test", etc, along with metadata about the event.
     We use this data to update
    the tree and statusbar.

Definition at line 1028 of file testrunnerplugin.py.

◆ _tests_selected()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._tests_selected (   self)
private

Definition at line 474 of file testrunnerplugin.py.

◆ disable()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.disable (   self)

Definition at line 303 of file testrunnerplugin.py.

◆ enable()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.enable (   self)

Definition at line 237 of file testrunnerplugin.py.

◆ get_current_profile()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.get_current_profile (   self)

Definition at line 888 of file testrunnerplugin.py.

◆ OnClose()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnClose (   self,
  event 
)

Shut down the running services and processes.

Definition at line 325 of file testrunnerplugin.py.

◆ OnConsoleLogPaneChanged()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnConsoleLogPaneChanged (   self,
  evt 
)

Definition at line 950 of file testrunnerplugin.py.

◆ OnContinue()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnContinue (   self,
  event 
)

Definition at line 353 of file testrunnerplugin.py.

◆ OnMessageLogPaneChanged()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnMessageLogPaneChanged (   self,
  evt 
)

Definition at line 957 of file testrunnerplugin.py.

◆ OnOpenLogsDirectory()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnOpenLogsDirectory (   self,
  evt 
)

Called when the user clicks on the "Open Logs Directory" button.

Definition at line 505 of file testrunnerplugin.py.

◆ OnPause()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnPause (   self,
  event 
)

Definition at line 348 of file testrunnerplugin.py.

◆ OnProcessEnded()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnProcessEnded (   self,
  evt 
)

Definition at line 522 of file testrunnerplugin.py.

◆ OnRun()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnRun (   self,
  event 
)

Called when the user clicks or presses the F8, Run Tests.

Definition at line 369 of file testrunnerplugin.py.

◆ OnRunDebug()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnRunDebug (   self,
  event 
)

Called when the user clicks or presses the F9, Run Tests with Debug It can still be overwritten in RIDE Arguments line.

Definition at line 375 of file testrunnerplugin.py.

◆ OnSettingsChanged()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnSettingsChanged (   self,
  message 
)

Updates settings.

Definition at line 291 of file testrunnerplugin.py.

◆ OnShowLog()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnShowLog (   self,
  evt 
)

Called when the user clicks on the "Log" button.

Definition at line 518 of file testrunnerplugin.py.

◆ OnShowReport()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnShowReport (   self,
  evt 
)

Called when the user clicks on the "Report" button.

Definition at line 512 of file testrunnerplugin.py.

◆ OnStepNext()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnStepNext (   self,
  event 
)

Definition at line 358 of file testrunnerplugin.py.

◆ OnStepOver()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnStepOver (   self,
  event 
)

Definition at line 363 of file testrunnerplugin.py.

◆ OnStop()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnStop (   self,
  event 
)

Called when the user clicks the "Stop" button.

    This sends a SIGINT to the running process, with the
    same effect as typing control-c when running from the
    command line.

Definition at line 342 of file testrunnerplugin.py.

◆ OnTestSelectedForRunningChanged()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnTestSelectedForRunningChanged (   self,
  message 
)

Definition at line 300 of file testrunnerplugin.py.

◆ OnTimer()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.OnTimer (   self,
  evt 
)

Get process output.

Definition at line 559 of file testrunnerplugin.py.

◆ parse_colors()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.parse_colors (   self,
  txt 
)

Definition at line 674 of file testrunnerplugin.py.

◆ store_color()

def robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.store_color (   self,
  idx,
  color 
)

Definition at line 714 of file testrunnerplugin.py.

Member Data Documentation

◆ _color_map

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._color_map
private

Definition at line 621 of file testrunnerplugin.py.

◆ _config_panel

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._config_panel
private

Definition at line 898 of file testrunnerplugin.py.

◆ _console_log

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._console_log
private

Definition at line 446 of file testrunnerplugin.py.

◆ _console_log_ctrl

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._console_log_ctrl
private

Definition at line 934 of file testrunnerplugin.py.

◆ _controls

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._controls
private

Definition at line 191 of file testrunnerplugin.py.

◆ _currently_executing_keyword

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._currently_executing_keyword
private

Definition at line 193 of file testrunnerplugin.py.

◆ _default_output_dir

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._default_output_dir
private

Definition at line 310 of file testrunnerplugin.py.

◆ _frame

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._frame
private

Definition at line 188 of file testrunnerplugin.py.

◆ _initmemory

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._initmemory
private

Definition at line 200 of file testrunnerplugin.py.

◆ _limitmemory

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._limitmemory
private

Definition at line 201 of file testrunnerplugin.py.

◆ _local_toolbar

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._local_toolbar
private

Definition at line 896 of file testrunnerplugin.py.

◆ _log_file

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._log_file
private

Definition at line 190 of file testrunnerplugin.py.

◆ _log_message_queue

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._log_message_queue
private

Definition at line 436 of file testrunnerplugin.py.

◆ _logs_directory

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._logs_directory
private

Definition at line 441 of file testrunnerplugin.py.

◆ _maxmemmsg

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._maxmemmsg
private

Definition at line 202 of file testrunnerplugin.py.

◆ _message_log_ctrl

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._message_log_ctrl
private

Definition at line 938 of file testrunnerplugin.py.

◆ _min_log_level_number

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._min_log_level_number
private

Definition at line 196 of file testrunnerplugin.py.

◆ _mysettings

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._mysettings
private

Definition at line 893 of file testrunnerplugin.py.

◆ _output_panel

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._output_panel
private

Definition at line 907 of file testrunnerplugin.py.

◆ _pause_on_failure

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._pause_on_failure
private

Definition at line 197 of file testrunnerplugin.py.

◆ _process

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._process
private

Definition at line 199 of file testrunnerplugin.py.

◆ _process_timer

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._process_timer
private

Definition at line 911 of file testrunnerplugin.py.

◆ _profile_classes_from_config

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._profile_classes_from_config
private

Definition at line 271 of file testrunnerplugin.py.

◆ _profile_toolbar

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._profile_toolbar
private

Definition at line 878 of file testrunnerplugin.py.

◆ _progress_bar

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._progress_bar
private

Definition at line 933 of file testrunnerplugin.py.

◆ _reload_timer

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._reload_timer
private

Definition at line 187 of file testrunnerplugin.py.

◆ _report_file

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._report_file
private

Definition at line 189 of file testrunnerplugin.py.

◆ _run_action

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._run_action
private

Definition at line 252 of file testrunnerplugin.py.

◆ _runner_toolbar

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._runner_toolbar
private

Definition at line 897 of file testrunnerplugin.py.

◆ _running

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._running
private

Definition at line 192 of file testrunnerplugin.py.

◆ _selected_tests

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._selected_tests
private

Definition at line 301 of file testrunnerplugin.py.

◆ _stop_action

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._stop_action
private

Definition at line 263 of file testrunnerplugin.py.

◆ _test_runner

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._test_runner
private

Definition at line 194 of file testrunnerplugin.py.

◆ autosave_cb

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.autosave_cb

Definition at line 810 of file testrunnerplugin.py.

◆ choice

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.choice

Definition at line 789 of file testrunnerplugin.py.

◆ defaults

dictionary robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.defaults
static
Initial value:
= {"auto_save": False,
"confirm run": True,
"profile_name": "robot",
"show_console_log": True,
"show_message_log": True,
"sash_position": 200,
"run_profiles":
[('jybot', 'jybot' + ('.bat' if os.name == 'nt' else '')),
('pybot', 'pybot' + ('.bat' if os.name == 'nt' else '')),
('robot 3.1', 'robot')],
"font size": 10,
"font face": 'Courier New',
"foreground": 'black',
"background": 'white',
"error": 'red',
"use colors": False,
"fail color": '#FF8E8E',
"pass color": '#9FCC9F',
"skip color": 'yellow'
}

Definition at line 155 of file testrunnerplugin.py.

◆ fail_color

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.fail_color

Definition at line 204 of file testrunnerplugin.py.

◆ log_regex

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.log_regex = re.compile("^Log: {5}(.*\.html)$", re.MULTILINE)
static

Definition at line 177 of file testrunnerplugin.py.

◆ metadata

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.metadata

Definition at line 184 of file testrunnerplugin.py.

◆ panel

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.panel

Definition at line 892 of file testrunnerplugin.py.

◆ pass_color

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.pass_color

Definition at line 205 of file testrunnerplugin.py.

◆ pause_on_failure_cb

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.pause_on_failure_cb

Definition at line 816 of file testrunnerplugin.py.

◆ report_regex

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.report_regex = re.compile("^Report: {2}(.*\.html)$", re.MULTILINE)
static

Definition at line 176 of file testrunnerplugin.py.

◆ skip_color

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.skip_color

Definition at line 206 of file testrunnerplugin.py.

◆ title

string robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.title = "Run"
static

Definition at line 178 of file testrunnerplugin.py.

◆ use_colors

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.use_colors

Definition at line 203 of file testrunnerplugin.py.

◆ version

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin.version

Definition at line 183 of file testrunnerplugin.py.

Property Documentation

◆ _names_to_run

robotide.contrib.testrunner.testrunnerplugin.TestRunnerPlugin._names_to_run = property
staticprivate

Definition at line 209 of file testrunnerplugin.py.


The documentation for this class was generated from the following file: