Functional Tests (test_functional.py)

Beginnings of a functional test harness for QuickTile

main()[source]

The main entry point, compatible with setuptools entry points.

run_tests()[source]

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


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

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