Functional Tests (test_functional.py)

Beginnings of a functional test harness for QuickTile

openbox_session()[source]
test_functional(openbox_session, command)[source]

Run the old bank of ‘commands don’t crash’ tests

test_quicktile_sh_reports_failure(openbox_session)[source]

Verify that quicktile.sh passes the return code through


Pending proper tests and assertions, the following sequence of commands is executed as an attempt to elicit uncaught exceptions.

TEST_SCRIPT
[ 'monitor-next-all',
  'monitor-prev-all',
  'monitor-switch-all',
  'monitor-prev-all',
  'monitor-next',
  'monitor-prev',
  'monitor-switch',
  'monitor-prev',
  'bottom',
  'bottom-left',
  'bottom-right',
  'left',
  'center',
  'right',
  'top',
  'top-left',
  'top-right',
  'move-to-bottom',
  'move-to-bottom-left',
  'move-to-bottom-right',
  'move-to-center',
  'move-to-left',
  'move-to-right',
  'move-to-top',
  'move-to-top-left',
  'move-to-top-right',
  'bordered',
  'bordered',
  'always-above',
  'always-above',
  'always-below',
  'always-below',
  'horizontal-maximize',
  'horizontal-maximize',
  'vertical-maximize',
  'vertical-maximize',
  'shade',
  'shade',
  'fullscreen',
  'fullscreen',
  'all-desktops',
  'all-desktops',
  'trigger-move',
  'trigger-resize',
  'workspace-send-down',
  'workspace-go-down',
  'workspace-send-up',
  'workspace-go-up',
  'workspace-send-left',
  'workspace-go-left',
  'workspace-send-right',
  'workspace-go-right',
  'workspace-send-next',
  'workspace-go-next',
  'workspace-send-prev',
  'workspace-go-prev',
  'show-desktop',
  'show-desktop',
  'maximize',
  'maximize',
  'minimize']